objectcache: Fix CachedBagOStuff to use backend makeKey()
[lhc/web/wiklou.git] / includes / libs / objectcache / CachedBagOStuff.php
index 74bf4b5..496a4e8 100644 (file)
@@ -106,4 +106,12 @@ class CachedBagOStuff extends HashBagOStuff {
                return $this->backend->modifySimpleRelayEvent( $event );
        }
 
+       public function makeKey() {
+               return call_user_func_array( [ $this->backend, __FUNCTION__ ], func_get_args() );
+       }
+
+       public function makeGlobalKey() {
+               return call_user_func_array( [ $this->backend, __FUNCTION__ ], func_get_args() );
+       }
+
 }