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

@ -205,10 +205,7 @@ class Dynamic extends Object
}
else
{
if ($this->config->pickles['logging'] === true)
{
Log::warning('Unable to minify ' . $original_reference . ' and a minified copy does not already exist');
}
Log::warning('Unable to minify ' . $original_reference . ' and a minified copy does not already exist');
}
$reference = $this->reference($reference);
@ -278,10 +275,7 @@ class Dynamic extends Object
}
else
{
if ($this->config->pickles['logging'] === true)
{
Log::warning('Unable to minify ' . $original_reference . ' and a minified copy does not already exist');
}
Log::warning('Unable to minify ' . $original_reference . ' and a minified copy does not already exist');
}
$reference = $this->reference($reference);