Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 765-767 (lines=3) @@
762
			$section
763
		);
764
765
		if ( $section !== 'stable' ) {
766
			update_option( self::$option_dev_installed, array( $branch, $section, self::get_manifest_data( $branch, $section ) ) );
767
		}
768
		return;
769
	}
770
@@ 772-774 (lines=3) @@
769
	}
770
771
	static function update_option( $branch, $section ) {
772
		if ( 'stable' !== $section ) {
773
			update_option( self::$option_dev_installed, array( $branch, $section, self::get_manifest_data( $branch, $section ) ) );
774
		}
775
		update_option( self::$option, array( $branch, $section) );
776
	}
777