Removed unnecessary sanity checks when calling Log
This commit is contained in:
parent
b6bacdd432
commit
dca62b82d1
5 changed files with 7 additions and 26 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue