]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6634
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 18 Jan 2024 13:50:03 +0000 (14:50 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 18 Jan 2024 13:50:03 +0000 (14:50 +0100)
app/Models/Base/ToolboxBaseTranslate.php

index f60ff9a89c5884bebe29b061ffd880dfead7f91b..5aff0f1aa7ab847169f20ad98b25566e4fc2b8b5 100644 (file)
@@ -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 () {