Cache class rewritten to better convention
[mailer.git] / inc / modules / admin / what-admins_add.php
index 45fd36e..c6cba4a 100644 (file)
@@ -60,7 +60,7 @@ if ((isset($_POST['add'])) && (!empty($_POST['login'])) && (!empty($_POST['email
 
                // Remove cache file
                if (EXT_IS_ACTIVE("cache")) {
-                       if ($cacheInstance->cache_file("admins")) $cacheInstance->cache_destroy();
+                       if ($cacheInstance->loadCacheFile("admins")) $cacheInstance->destroyCacheFile();
                }
        } else {
                // Free memory