New functions introduced, several rewrites:
[mailer.git] / inc / libs / cache_functions.php
index 5181e879224817eb64cdbbdc2fa280d37270778f..03bc6437436eb10a2e9190a470f8b0d5f97b6f11 100644 (file)
@@ -61,7 +61,7 @@ function FILTER_CACHE_DESTROY_ON_ADMIN_CHANGE ($data) {
        if (!isCacheInstanceValid()) return false;
 
        // Remove cache
-       if ($GLOBALS['cache_instance']->loadCacheFile('admins')) $GLOBALS['cache_instance']->removeCacheFile();
+       if ($GLOBALS['cache_instance']->loadCacheFile('admin')) $GLOBALS['cache_instance']->removeCacheFile();
 
        // Return the data
        return $data;