diff --git a/cache/classes/loaders.php b/cache/classes/loaders.php index 994aef2ea49..c59af740007 100644 --- a/cache/classes/loaders.php +++ b/cache/classes/loaders.php @@ -1742,7 +1742,7 @@ class cache_session extends cache { * Purges the session cache of all data belonging to the current user. */ public function purge_current_user() { - $keys = $this->get_store()->find_all($this->get_key_prefix()); + $keys = $this->get_store()->find_by_prefix($this->get_key_prefix()); $this->get_store()->delete_many($keys); }