X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fobjectcache%2FEmptyBagOStuff.php;h=0a945a91765a2cfce014c94824c6f9f5cff4aab8;hb=f1b45cbed4d7fed42fc8bff4af4b1ff986f01b6f;hp=cc57ff1191793aa7d9af6dad9de2e00f760ae016;hpb=4477e5dbac5764af4b40d338e58f2975e34bd159;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/objectcache/EmptyBagOStuff.php b/includes/objectcache/EmptyBagOStuff.php index cc57ff1191..0a945a9176 100644 --- a/includes/objectcache/EmptyBagOStuff.php +++ b/includes/objectcache/EmptyBagOStuff.php @@ -70,18 +70,11 @@ class EmptyBagOStuff extends BagOStuff { /** * @param $key string * @param $callback closure Callback method to be executed - * @param $exptime int Either an interval in seconds or a unix timestamp for expiry - * @param $attempts int The amount of times to attempt a merge in case of failure + * @param int $exptime Either an interval in seconds or a unix timestamp for expiry + * @param int $attempts The amount of times to attempt a merge in case of failure * @return bool success */ public function merge( $key, closure $callback, $exptime = 0, $attempts = 10 ) { return true; } } - -/** - * Backwards compatibility alias for EmptyBagOStuff - * @deprecated since 1.18 - */ -class FakeMemCachedClient extends EmptyBagOStuff { -}