Code Duplication    Length = 2-2 lines in 3 locations

Sources/Subs-Db-mysql.php 1 location

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

Sources/Subs-Db-postgresql.php 1 location

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

Sources/Load.php 1 location

@@ 3449-3450 (lines=2) @@
3446
	if (function_exists('call_integration_hook'))
3447
		call_integration_hook('cache_put_data', array(&$key, &$value, &$ttl));
3448
3449
	if (isset($db_show_debug) && $db_show_debug === true)
3450
		$cache_hits[$cache_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
3451
}
3452
3453
/**