]> _ Git - cubist_cms-back.git/commitdiff
wip #4209 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 12 Jul 2022 09:15:15 +0000 (11:15 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 12 Jul 2022 09:15:15 +0000 (11:15 +0200)
src/app/Magic/Models/CubistMagicAbstractModel.php
src/public/bunchmultiple/bunchmultiple.js

index 4c5e195b446694e4b952c73fd97bd69d05b5bd4f..7caf172017c552d161a0a001ca4bcd150c8638d4 100644 (file)
@@ -895,7 +895,11 @@ class CubistMagicAbstractModel extends Model implements HasMedia
         foreach ($classes as $class) {
             $tags[] = 'model_' . $class;
         }
-        Cache::tags($tags)->flush();
+        try {
+            Cache::tags($tags)->flush();
+        } catch (\Exception $e) {
+
+        }
     }
 
     /**
index a322a4c6b0dc39bd242c97c153c8481c105f746d..9e26939b7d7b6d1625dc7ee2c9c7bf9438ccc1b6 100644 (file)
             this.empty(false);
             var $this = this;
             $.each(data, function (k, v) {
-                console.log(v);
                 $this.initItem(v);
             });
             this.updateAndChange();