X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fclasses%2Fcachesystem.class.php;h=05e488a6158f7392fb4a261fdb834c21113d1a0a;hp=aaaebe605205fd0b843abcb2761c5b5f5a1e5333;hb=330dbb3e2b34450cd1665497506455e195a0a166;hpb=18eb87f5ec1182966e2ff5ef128a379330534f80
diff --git a/inc/classes/cachesystem.class.php b/inc/classes/cachesystem.class.php
index aaaebe6052..05e488a615 100644
--- a/inc/classes/cachesystem.class.php
+++ b/inc/classes/cachesystem.class.php
@@ -290,8 +290,7 @@ class CacheSystem {
} // END - if
} else {
// Cache file not found or not readable
- debug_report_bug(__METHOD__, __LINE__, $this->name);
- addFatalMessage(__METHOD__, __LINE__, '(' . __LINE__ . '): ' . getMaskedMessage('CACHE_CANNOT_LOAD', $this->fqfn));
+ debug_report_bug(__METHOD__, __LINE__, '{%message,CACHE_CANNOT_LOAD=' . $this->name . '%}');
// Try to remove it
$this->removeCacheFile();
@@ -347,7 +346,7 @@ class CacheSystem {
$this->rebuilt[$this->name] = true;
} else {
// Not removed!
- addFatalMessage(__METHOD__, __LINE__, '(' . __LINE__ . '): ' . getMaskedMessage('CACHE_CANNOT_UNLINK', $this->fqfn));
+ debug_report_bug(__METHOD__, __LINE__, '{%message,CACHE_CANNOT_UNLINK=' . $this->name . '%}');
}
} // END - if
}
@@ -375,7 +374,7 @@ class CacheSystem {
// Close cache file
$this->finalize();
- }
+ } // END - if
} else {
// Cannot write to cache!
addFatalMessage(__METHOD__, __LINE__, '(' . __LINE__ . '): {--CACHE_PROBLEMS_DETECTED');