From: Kunal Mehta Date: Thu, 12 May 2016 23:05:19 +0000 (-0700) Subject: Remove now-unused LinkCache::$instance X-Git-Tag: 1.31.0-rc.0~6982^2~3 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=ef2a84e1085c7542704bec51370d860e85c88a17;p=lhc%2Fweb%2Fwiklou.git Remove now-unused LinkCache::$instance Follows-up 449084ec4. Change-Id: Ia43344beba0f1e5f98210d0e4e51e53e138495d1 --- diff --git a/includes/cache/LinkCache.php b/includes/cache/LinkCache.php index 1dfefdfdac..2c112474b3 100644 --- a/includes/cache/LinkCache.php +++ b/includes/cache/LinkCache.php @@ -50,11 +50,6 @@ class LinkCache { */ const MAX_SIZE = 10000; - /** - * @var LinkCache - */ - protected static $instance; - public function __construct( TitleFormatter $titleFormatter ) { $this->mGoodLinks = new HashBagOStuff( [ 'maxKeys' => self::MAX_SIZE ] ); $this->mBadLinks = new HashBagOStuff( [ 'maxKeys' => self::MAX_SIZE ] );