mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Less logging in often used class.
This commit is contained in:
@@ -58,22 +58,15 @@ class FireflyConfig
|
|||||||
|
|
||||||
if ($config) {
|
if ($config) {
|
||||||
Cache::forever($fullName, $config);
|
Cache::forever($fullName, $config);
|
||||||
Log::debug('Return found one.');
|
|
||||||
|
|
||||||
return $config;
|
return $config;
|
||||||
}
|
}
|
||||||
// no preference found and default is null:
|
// no preference found and default is null:
|
||||||
if (is_null($default)) {
|
if (is_null($default)) {
|
||||||
// return NULL
|
|
||||||
Log::debug('Return null.');
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
Log::debug('Return this->set().');
|
|
||||||
|
|
||||||
return $this->set($name, $default);
|
return $this->set($name, $default);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user