From c7e4e14b7eb434b4ff674be2dc5e1b1be23b3c84 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 5 Mar 2019 12:16:21 -0700 Subject: [PATCH] Update Localization cache time, closes #959 --- app/Util/Localization/Localization.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Util/Localization/Localization.php b/app/Util/Localization/Localization.php index 4ca06152..0c5bc4e9 100644 --- a/app/Util/Localization/Localization.php +++ b/app/Util/Localization/Localization.php @@ -9,7 +9,7 @@ class Localization { public static function languages() { - return Cache::remember('core:localization:languages', now()->addDays(14), function() { + return Cache::remember('core:localization:languages', now()->addDays(1), function() { $dir = resource_path('lang'); return Arr::flatten(array_diff(scandir($dir), array('..', '.', 'vendor'))); });