Code Duplication    Length = 2-2 lines in 3 locations

Sources/Subs-Db-postgresql.php 1 location

@@ 458-459 (lines=2) @@
455
		$db_last_result = smf_db_error($db_string, $connection);
456
457
	// Debugging.
458
	if (isset($db_show_debug) && $db_show_debug === true)
459
		$db_cache[$db_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
460
461
	return $db_last_result;
462
}

Sources/Load.php 1 location

@@ 3345-3346 (lines=2) @@
3342
	if (function_exists('call_integration_hook'))
3343
		call_integration_hook('cache_put_data', array(&$key, &$value, &$ttl));
3344
3345
	if (isset($db_show_debug) && $db_show_debug === true)
3346
		$cache_hits[$cache_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
3347
}
3348
3349
/**

Sources/Subs-Db-mysql.php 1 location

@@ 503-504 (lines=2) @@
500
		$ret = smf_db_error($db_string, $connection);
501
502
	// Debugging.
503
	if (isset($db_show_debug) && $db_show_debug === true)
504
		$db_cache[$db_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
505
506
	return $ret;
507
}