Code Duplication    Length = 3-3 lines in 2 locations

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

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