Code Duplication    Length = 2-2 lines in 3 locations

Sources/Subs-Db-postgresql.php 1 location

@@ 494-495 (lines=2) @@
491
		$db_last_result = smf_db_error($db_string, $connection);
492
493
	// Debugging.
494
	if (isset($db_show_debug) && $db_show_debug === true)
495
		$db_cache[$db_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
496
497
	return $db_last_result;
498
}

Sources/Load.php 1 location

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

Sources/Subs-Db-mysql.php 1 location

@@ 510-511 (lines=2) @@
507
		$ret = smf_db_error($db_string, $connection);
508
509
	// Debugging.
510
	if (isset($db_show_debug) && $db_show_debug === true)
511
		$db_cache[$db_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
512
513
	return $ret;
514
}