]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/cache_functions.php
Cache file does no longer output fatal messages when it can't find file for deletion
[mailer.git] / inc / libs / cache_functions.php
index 392827f683f83953d2ebdf66529ee1023b17bc9b..671853299bc8388f083e649fddd4bc08be2b7fea 100644 (file)
@@ -230,10 +230,7 @@ class CacheSystem {
                                // Not removed!
                                ADD_FATAL(__FILE__."(<font color=\"#0000aa\">".__LINE__."</font>): ".CACHE_CANNOT_UNLINK_1.$this->inc.CACHE_CANNOT_UNLINK_2);
                        }
-               } else {
-                       // Does not exist!
-                       ADD_FATAL(__FILE__."(<font color=\"#0000aa\">".__LINE__."</font>): ".CACHE_PROBLEMS_DETECTED);
-               }
+               } // END - if
        }
 
        // Unused method:
@@ -408,7 +405,7 @@ function FILTER_CACHE_DESTROY_ON_EXT_CHANGE ($data) {
        } // END - if
 
        // Return it
-       return $DATA;
+       return $data;
 }
 
 // Destroy the cache on changing admin