Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 925-927 (lines=3) @@
922
			$section
923
		);
924
925
		if ( 'stable' !== $section ) {
926
			update_option( self::$option_dev_installed, array( $branch, $section, self::get_manifest_data( $branch, $section ) ) );
927
		}
928
	}
929
930
	/**
@@ 937-939 (lines=3) @@
934
	 * @param string $section - Section.
935
	 */
936
	public static function update_option( $branch, $section ) {
937
		if ( 'stable' !== $section ) {
938
			update_option( self::$option_dev_installed, array( $branch, $section, self::get_manifest_data( $branch, $section ) ) );
939
		}
940
		update_option( self::$option, array( $branch, $section ) );
941
	}
942