]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/cache_functions.php
RevBomb patch applied (thanks to profi-concept)
[mailer.git] / inc / libs / cache_functions.php
index f0d38e18d62b7c04367fb5dcc41f7f3a3c153502..f8ff4882a08ba678ded9c0534aeee39f77d8d53f 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Funktionen fuer die admins-Erweiterung           *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: stelzi                                                   $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -223,6 +228,7 @@ class CacheSystem {
                        // Remove cache file from system
                        //* DEBUG: */ print __METHOD__."(<font color=\"#0000aa\">".__LINE__."</font>): {$this->name} - DESTROYED!<br />\n";
                        unlink($this->fqfn);
+                       // @TODO remove from $GLOBALS['cache_array']!!!
 
                        // Is the file there?
                        if (!$this->isCacheReadable()) {
@@ -442,6 +448,7 @@ function FILTER_CACHE_DESTROY_ALL () {
                if ($GLOBALS['cache_instance']->loadCacheFile("refdepths"))   $GLOBALS['cache_instance']->destroyCacheFile();
                if ($GLOBALS['cache_instance']->loadCacheFile("refsystem"))   $GLOBALS['cache_instance']->destroyCacheFile();
                if ($GLOBALS['cache_instance']->loadCacheFile("themes"))      $GLOBALS['cache_instance']->destroyCacheFile();
+               if ($GLOBALS['cache_instance']->loadCacheFile("revision"))    $GLOBALS['cache_instance']->destroyCacheFile();
        } // END - if
 }