Code Duplication    Length = 2-2 lines in 3 locations

Sources/Subs-Db-mysql.php 1 location

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

Sources/Subs-Db-postgresql.php 1 location

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

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
/**