Code Duplication    Length = 2-2 lines in 2 locations

other/upgrade.php 2 locations

@@ 128-129 (lines=2) @@
125
	$upcontext['user'] = unserialize(base64_decode($upgradeData));
126
127
	// Check for sensible values.
128
	if (empty($upcontext['user']['started']) || $upcontext['user']['started'] < time() - 86400)
129
		$upcontext['user']['started'] = time();
130
	if (empty($upcontext['user']['updated']) || $upcontext['user']['updated'] < time() - 86400)
131
		$upcontext['user']['updated'] = 0;
132
@@ 130-131 (lines=2) @@
127
	// Check for sensible values.
128
	if (empty($upcontext['user']['started']) || $upcontext['user']['started'] < time() - 86400)
129
		$upcontext['user']['started'] = time();
130
	if (empty($upcontext['user']['updated']) || $upcontext['user']['updated'] < time() - 86400)
131
		$upcontext['user']['updated'] = 0;
132
133
	$upcontext['started'] = $upcontext['user']['started'];
134
	$upcontext['updated'] = $upcontext['user']['updated'];