Move Title::isNamespaceProtected() to PermissionManager.
[lhc/web/wiklou.git] / includes / libs / objectcache / APCBagOStuff.php
index 0954ac8..aa83b1f 100644 (file)
@@ -73,7 +73,7 @@ class APCBagOStuff extends MediumSpecificBagOStuff {
                return true;
        }
 
-       public function add( $key, $value, $exptime = 0, $flags = 0 ) {
+       protected function doAdd( $key, $value, $exptime = 0, $flags = 0 ) {
                return apc_add(
                        $key . self::KEY_SUFFIX,
                        $this->nativeSerialize ? $value : $this->serialize( $value ),