more in naming convention applied, you should better kill inc/cache/*.cache files...
[mailer.git] / inc / modules / admin / what-admins_add.php
index bb740c380eefb0837e2ce6f4e05cd90b0588cade..2a842c6144a5fe7b262379bfb03e5f37636c10d7 100644 (file)
@@ -40,7 +40,7 @@ if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))
 // Add description as navigation point
 ADD_DESCR("admin", basename(__FILE__));
 
-global $CACHE;
+global $cacheInstance;
 
 // Display form is default
 $FORM = true;
@@ -63,7 +63,7 @@ if ((isset($_POST['add'])) && (!empty($_POST['login'])) && (!empty($_POST['email
                // Remove cache file
                if (EXT_IS_ACTIVE("cache"))
                {
-                       if ($CACHE->cache_file("admins", true)) $CACHE->cache_destroy();
+                       if ($cacheInstance->cache_file("admins", true)) $cacheInstance->cache_destroy();
                }
        }
         else