more in naming convention applied, you should better kill inc/cache/*.cache files...
[mailer.git] / inc / modules / admin / what-config_admins.php
index 27cce72684dee52926a0c39401fd58583488d008..c20a8c4f8fab4db9d9068871539a5b83c2534c28 100644 (file)
@@ -95,7 +95,7 @@ if ((isset($_POST['edit'])) && ($SEL > 0))
        // Update cache when installed
        if (EXT_IS_ACTIVE("cache"))
        {
-               if ($CACHE->cache_file("admins_acls", true) == true) $CACHE->cache_destroy();
+               if ($cacheInstance->cache_file("admins_acls", true) == true) $cacheInstance->cache_destroy();
        }
 
        // Entries changed
@@ -163,7 +163,7 @@ if ((isset($_POST['edit'])) && ($SEL > 0))
        // Update cache when installed
        if (EXT_IS_ACTIVE("cache"))
        {
-               if ($CACHE->cache_file("admins_acls", true) == true) $CACHE->cache_destroy();
+               if ($cacheInstance->cache_file("admins_acls", true) == true) $cacheInstance->cache_destroy();
        }
 
        // Entries deleted
@@ -210,7 +210,7 @@ VALUES ('%s', '%s', '%s', '%s')",
                                // Update cache when installed
                                if (EXT_IS_ACTIVE("cache"))
                                {
-                                       if ($CACHE->cache_file("admins_acls", true) == true) $CACHE->cache_destroy();
+                                       if ($cacheInstance->cache_file("admins_acls", true) == true) $cacheInstance->cache_destroy();
                                }
                        }
                         else