Code Duplication    Length = 2-2 lines in 3 locations

Sources/Subs-Db-mysql.php 1 location

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

Sources/Subs-Db-postgresql.php 1 location

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

Sources/Load.php 1 location

@@ 3396-3397 (lines=2) @@
3393
	if (function_exists('call_integration_hook'))
3394
		call_integration_hook('cache_put_data', array(&$key, &$value, &$ttl));
3395
3396
	if (isset($db_show_debug) && $db_show_debug === true)
3397
		$cache_hits[$cache_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
3398
}
3399
3400
/**