Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 919-921 (lines=3) @@
916
			$section
917
		);
918
919
		if ( 'stable' !== $section ) {
920
			update_option( self::$option_dev_installed, array( $branch, $section, self::get_manifest_data( $branch, $section ) ) );
921
		}
922
	}
923
924
	/**
@@ 931-933 (lines=3) @@
928
	 * @param string $section - Section.
929
	 */
930
	public static function update_option( $branch, $section ) {
931
		if ( 'stable' !== $section ) {
932
			update_option( self::$option_dev_installed, array( $branch, $section, self::get_manifest_data( $branch, $section ) ) );
933
		}
934
		update_option( self::$option, array( $branch, $section ) );
935
	}
936