MDL-37225 reset cachstore_static store when purging

This commit is contained in:
Brian King
2012-12-24 09:36:13 +13:00
committed by Sam Hemelryk
parent a8f8537965
commit 190b5e7cbe
+1
View File
@@ -357,6 +357,7 @@ class cachestore_static extends static_data_store implements cache_is_key_aware
*/
public function purge() {
$this->flush_store_by_id($this->storeid);
$this->store = &self::register_store_id($this->storeid);
}
/**