Explorar o código

clear all cache on site update

Olivier Massot %!s(int64=4) %!d(string=hai) anos
pai
achega
87f0f0f011
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      ot_admin/Classes/Controller/SiteController.php

+ 3 - 1
ot_admin/Classes/Controller/SiteController.php

@@ -722,7 +722,8 @@ class SiteController extends ActionController
         }
 
         // ## Clear the Typo3 cache for the website
-        OtCacheManager::clearSiteCache($rootUid, true);
+        OtCacheManager::clearAllCache();
+//        OtCacheManager::clearSiteCache($rootUid, true);
 
         return $rootUid;
     }
@@ -1371,6 +1372,7 @@ class SiteController extends ActionController
             $this->addRedirection($originDomain, $newDomain);
         }
 
+        OtCacheManager::clearAllCache();
         return $rootUid;
     }