Code Duplication    Length = 3-3 lines in 2 locations

projects/plugins/beta/class-jetpack-beta.php 2 locations

@@ 916-918 (lines=3) @@
913
			$section
914
		);
915
916
		if ( 'stable' !== $section ) {
917
			update_option( self::$option_dev_installed, array( $branch, $section, self::get_manifest_data( $branch, $section ) ) );
918
		}
919
	}
920
921
	/**
@@ 928-930 (lines=3) @@
925
	 * @param string $section - Section.
926
	 */
927
	public static function update_option( $branch, $section ) {
928
		if ( 'stable' !== $section ) {
929
			update_option( self::$option_dev_installed, array( $branch, $section, self::get_manifest_data( $branch, $section ) ) );
930
		}
931
		update_option( self::$option, array( $branch, $section ) );
932
	}
933