Removed unnecessary sanity checks when calling Log

This commit is contained in:
Josh Sherman 2013-09-15 12:02:07 -04:00
parent b6bacdd432
commit dca62b82d1
5 changed files with 7 additions and 26 deletions

View file

@ -227,7 +227,7 @@ class Database_PDO_Common extends Database_Common
$end_time = microtime(true);
$duration = $end_time - $start_time;
if ($this->config->pickles['logging'] === true && $duration >= 1)
if ($duration >= 1)
{
Log::slowQuery($duration . ' seconds: ' . $loggable_query);
}