...
This commit is contained in:
parent
82f4e4f685
commit
8d75378785
2
mod.php
2
mod.php
@ -1633,7 +1633,7 @@
|
|||||||
if(!$config['cache']['enabled']) error('Cache is not enabled.');
|
if(!$config['cache']['enabled']) error('Cache is not enabled.');
|
||||||
|
|
||||||
if(cache::flush()) {
|
if(cache::flush()) {
|
||||||
$body = 'Successfully invalidated all items in the cache.';
|
$body = 'Successfully invalidated all items in cache.';
|
||||||
modLog('Cleared cache');
|
modLog('Cleared cache');
|
||||||
} else {
|
} else {
|
||||||
$body = 'An error occured while trying to flush cache.';
|
$body = 'An error occured while trying to flush cache.';
|
||||||
|
Loading…
Reference in New Issue
Block a user