FIX: fix bug related to settings cache

This commit is contained in:
Michal Kváček
2017-08-02 18:35:48 +02:00
parent 3a1e4b9c5b
commit 25d9ded124
6 changed files with 17 additions and 4 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class Settings
{
if (!self::$initialized) {
self::$settings = Cache::remember('settings', config('cache.settingCacheLifetime'), function () {
app(SettingsRepository::class)->getAll();
return app(SettingsRepository::class)->getAll();
});
}
}