Code Duplication    Length = 3-3 lines in 2 locations

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

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