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

@ -116,10 +116,7 @@ class Controller extends Object
}
else
{
if ($this->config->pickles['logging'] === true)
{
Log::warning('Class named ' . $module_class . ' was not found in ' . $module_filename);
}
Log::warning('Class named ' . $module_class . ' was not found in ' . $module_filename);
}
}