X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fobjectcache%2FEmptyBagOStuff.php;h=0a945a91765a2cfce014c94824c6f9f5cff4aab8;hb=feeac7bdfc9c629e40e5de0b1825daa2bd634a55;hp=cc57ff1191793aa7d9af6dad9de2e00f760ae016;hpb=ec493cc7508e4741e370cbcd10b59ba636c13113;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 { -}