objectcache: Forward MultiWriteBagOStuff::makeKey to primary backend
[lhc/web/wiklou.git] / includes / libs / objectcache / MultiWriteBagOStuff.php
index 9dcfa7c..687c67c 100644 (file)
@@ -226,4 +226,12 @@ class MultiWriteBagOStuff extends BagOStuff {
 
                return $ret;
        }
+
+       public function makeKey() {
+               return call_user_func_array( [ $this->caches[0], __FUNCTION__ ], func_get_args() );
+       }
+
+       public function makeGlobalKey() {
+               return call_user_func_array( [ $this->caches[0], __FUNCTION__ ], func_get_args() );
+       }
 }