mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Less logging in often used class.
This commit is contained in:
parent
fc0024faa2
commit
cbbadc3d6d
@ -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);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user