mirror of
https://github.com/moodle/moodle.git
synced 2025-05-14 04:06:39 +02:00
MDL-37225 reset cachstore_static store when purging
This commit is contained in:
parent
20751863e3
commit
6e89fb0309
1
cache/stores/static/lib.php
vendored
1
cache/stores/static/lib.php
vendored
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user