Code Duplication    Length = 2-2 lines in 3 locations

Sources/Load.php 1 location

@@ 3403-3404 (lines=2) @@
3400
	if (function_exists('call_integration_hook'))
3401
		call_integration_hook('cache_put_data', array(&$key, &$value, &$ttl));
3402
3403
	if (isset($db_show_debug) && $db_show_debug === true)
3404
		$cache_hits[$cache_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
3405
}
3406
3407
/**

Sources/Subs-Db-mysql.php 1 location

@@ 484-485 (lines=2) @@
481
		$ret = smf_db_error($db_string, $connection);
482
483
	// Debugging.
484
	if (isset($db_show_debug) && $db_show_debug === true)
485
		$db_cache[$db_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
486
487
	return $ret;
488
}

Sources/Subs-Db-postgresql.php 1 location

@@ 489-490 (lines=2) @@
486
		$db_last_result = smf_db_error($db_string, $connection);
487
488
	// Debugging.
489
	if (isset($db_show_debug) && $db_show_debug === true)
490
		$db_cache[$db_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
491
492
	return $db_last_result;
493
}