Code Duplication    Length = 6-6 lines in 3 locations

class.jetpack.php 3 locations

@@ 2291-2296 (lines=6) @@
2288
		}
2289
2290
		$jetpack_old_version = Jetpack_Options::get_option( 'version' ); // [sic]
2291
		if ( ! $jetpack_old_version ) {
2292
			$jetpack_old_version = $version = $old_version = '1.1:' . time();
2293
			/** This action is documented in class.jetpack.php */
2294
			do_action( 'updating_jetpack_version', $version, false );
2295
			Jetpack_Options::update_options( compact( 'version', 'old_version' ) );
2296
		}
2297
2298
		list( $jetpack_version ) = explode( ':', $jetpack_old_version ); // [sic]
2299
@@ 1899-1904 (lines=6) @@
1896
		}
1897
1898
		$version = Jetpack_Options::get_option( 'version' );
1899
		if ( ! $version ) {
1900
			$version = $old_version = JETPACK__VERSION . ':' . time();
1901
			/** This action is documented in class.jetpack.php */
1902
			do_action( 'updating_jetpack_version', $version, false );
1903
			Jetpack_Options::update_options( compact( 'version', 'old_version' ) );
1904
		}
1905
		list( $version )            = explode( ':', $version );
1906
		$fetched_all_active_modules = false;
1907
@@ 3273-3278 (lines=6) @@
3270
			Jetpack_Options::update_option( 'activated', 2 );
3271
		}
3272
3273
		if ( ! Jetpack_Options::get_option( 'version' ) ) {
3274
			$version = $old_version = JETPACK__VERSION . ':' . time();
3275
			/** This action is documented in class.jetpack.php */
3276
			do_action( 'updating_jetpack_version', $version, false );
3277
			Jetpack_Options::update_options( compact( 'version', 'old_version' ) );
3278
		}
3279
3280
		Jetpack::load_modules();
3281