diff --git a/RbacCached.php b/RbacCached.php
index <HASH>..<HASH> 100644
--- a/RbacCached.php
+++ b/RbacCached.php
@@ -130,7 +130,7 @@ class RbacCached extends DbManager {
      * @param $key
      * @return mixed
      */
-    public static function deleteAllCache() {
+    public function deleteAllCache() {
         return $this->resolveCacheComponent()->delete($this->cacheKeyName);
     }
deleteAllCache cannot be static as it uses $this