Code Duplication    Length = 2-2 lines in 3 locations

Sources/Subs-Db-mysql.php 1 location

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

Sources/Subs-Db-postgresql.php 1 location

@@ 492-493 (lines=2) @@
489
		$db_last_result = 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 $db_last_result;
496
}

Sources/Load.php 1 location

@@ 3372-3373 (lines=2) @@
3369
	if (function_exists('call_integration_hook'))
3370
		call_integration_hook('cache_put_data', array(&$key, &$value, &$ttl));
3371
3372
	if (isset($db_show_debug) && $db_show_debug === true)
3373
		$cache_hits[$cache_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
3374
}
3375
3376
/**