Version 4.1.2
This commit is contained in:
1 parent
3ba79295ee
commit
28bd025b35
1131 files changed
+63658
-20579
No files matched your search
@@ -147,4 +147,18 @@ abstract class _Cache extends AbstractData
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear All Caches
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function clearAll()
|
||||
{
|
||||
/* cacheKeys stored md5 hashes of the correct value, and the cache
|
||||
is only used if the value it returns matches the hash, so clearing
|
||||
this out invalidates all caches, even if the caching engine
|
||||
does not allow us to actually clear them */
|
||||
\IPS\Data\Store::i()->cacheKeys = array();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user