Code Duplication    Length = 2-2 lines in 3 locations

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/Subs-Db-mysql.php 1 location

@@ 482-483 (lines=2) @@
479
		$ret = smf_db_error($db_string, $connection);
480
481
	// Debugging.
482
	if (isset($db_show_debug) && $db_show_debug === true)
483
		$db_cache[$db_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
484
485
	return $ret;
486
}

Sources/Load.php 1 location

@@ 3411-3412 (lines=2) @@
3408
	if (function_exists('call_integration_hook'))
3409
		call_integration_hook('cache_put_data', array(&$key, &$value, &$ttl));
3410
3411
	if (isset($db_show_debug) && $db_show_debug === true)
3412
		$cache_hits[$cache_count]['t'] = array_sum(explode(' ', microtime())) - array_sum(explode(' ', $st));
3413
}
3414
3415
/**