From: Vincent Vanwaelscappel Date: Thu, 18 Jan 2024 13:50:03 +0000 (+0100) Subject: wait #6634 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=da15fe5646d0b2a199b3f3a8bbf4d91884efd6ae;p=fluidbook-toolbox.git wait #6634 --- diff --git a/app/Models/Base/ToolboxBaseTranslate.php b/app/Models/Base/ToolboxBaseTranslate.php index f60ff9a89..5aff0f1aa 100644 --- a/app/Models/Base/ToolboxBaseTranslate.php +++ b/app/Models/Base/ToolboxBaseTranslate.php @@ -62,7 +62,7 @@ class ToolboxBaseTranslate extends Translate { if (null === static::$_allTranslations) { $cacheKey = static::_getCacheKey(); - if (true || $force) { + if ($force) { Cache::forget($cacheKey); } static::$_allTranslations = Cache::remember($cacheKey, 3600, function () {