Less logging in often used class.

This commit is contained in:
James Cole 2016-12-27 15:54:49 +01:00
parent fc0024faa2
commit cbbadc3d6d

View File

@ -58,22 +58,15 @@ class FireflyConfig
if ($config) {
Cache::forever($fullName, $config);
Log::debug('Return found one.');
return $config;
}
// no preference found and default is null:
if (is_null($default)) {
// return NULL
Log::debug('Return null.');
return null;
}
Log::debug('Return this->set().');
return $this->set($name, $default);
}
/**