Code Duplication    Length = 2-2 lines in 3 locations

Sources/Subs-Db-mysql.php 1 location

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

Sources/Subs-Db-postgresql.php 1 location

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

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