Code Duplication    Length = 6-6 lines in 3 locations

projects/plugins/jetpack/class.jetpack.php 3 locations

@@ 2378-2383 (lines=6) @@
2375
		}
2376
2377
		$jetpack_old_version = Jetpack_Options::get_option( 'version' ); // [sic]
2378
		if ( ! $jetpack_old_version ) {
2379
			$jetpack_old_version = $version = $old_version = '1.1:' . time();
2380
			/** This action is documented in class.jetpack.php */
2381
			do_action( 'updating_jetpack_version', $version, false );
2382
			Jetpack_Options::update_options( compact( 'version', 'old_version' ) );
2383
		}
2384
2385
		list( $jetpack_version ) = explode( ':', $jetpack_old_version ); // [sic]
2386
@@ 3419-3424 (lines=6) @@
3416
			Jetpack_Options::update_option( 'activated', 2 );
3417
		}
3418
3419
		if ( ! Jetpack_Options::get_option( 'version' ) ) {
3420
			$version = $old_version = JETPACK__VERSION . ':' . time();
3421
			/** This action is documented in class.jetpack.php */
3422
			do_action( 'updating_jetpack_version', $version, false );
3423
			Jetpack_Options::update_options( compact( 'version', 'old_version' ) );
3424
		}
3425
3426
		self::load_modules();
3427
@@ 1996-2001 (lines=6) @@
1993
		}
1994
1995
		$version = Jetpack_Options::get_option( 'version' );
1996
		if ( ! $version ) {
1997
			$version = $old_version = JETPACK__VERSION . ':' . time();
1998
			/** This action is documented in class.jetpack.php */
1999
			do_action( 'updating_jetpack_version', $version, false );
2000
			Jetpack_Options::update_options( compact( 'version', 'old_version' ) );
2001
		}
2002
		list( $version ) = explode( ':', $version );
2003
2004
		$modules = array_filter( self::get_active_modules(), array( 'Jetpack', 'is_module' ) );