Code Duplication    Length = 2-2 lines in 3 locations

Sources/Load.php 1 location

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

Sources/Subs-Db-postgresql.php 1 location

@@ 467-468 (lines=2) @@
464
		$db_last_result = smf_db_error($db_string, $connection);
465
466
	// Debugging.
467
	if (isset($db_show_debug) && $db_show_debug === true)
468
		$db_cache[$db_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
469
470
	return $db_last_result;
471
}

Sources/Subs-Db-mysql.php 1 location

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