]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-extensions.php
Use rebuildCache() instead of loadCacheFile()/removeCacheFile()
[mailer.git] / inc / modules / admin / what-extensions.php
index 233e9de414648a26a6e0a17cf15a5cb0d7fa0862..c18bd86ca0917405aef9c5c47be37c9bee85736a 100644 (file)
@@ -367,11 +367,8 @@ ORDER BY
                                                if (isExtensionActive('cache')) {
                                                        // Remove cache file (will be auto-created again!)
                                                        foreach (array('config', 'extension', 'filter', 'modules') as $cache) {
-                                                               // Is the cache file there?
-                                                               if ($GLOBALS['cache_instance']->loadCacheFile($cache)) {
-                                                                       // Remove cache file
-                                                                       $GLOBALS['cache_instance']->removeCacheFile();
-                                                               } // END - if
+                                                               // Rebuild cache file
+                                                               rebuildCache($cache);
                                                        } // END - foreach
                                                } // END - if