dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
449084e
)
Remove now-unused LinkCache::$instance
author
Kunal Mehta
<legoktm@member.fsf.org>
Thu, 12 May 2016 23:05:19 +0000
(16:05 -0700)
committer
Kunal Mehta
<legoktm@member.fsf.org>
Thu, 12 May 2016 23:05:19 +0000
(16:05 -0700)
Follows-up
449084ec4
.
Change-Id: Ia43344beba0f1e5f98210d0e4e51e53e138495d1
includes/cache/LinkCache.php
patch
|
blob
|
history
diff --git
a/includes/cache/LinkCache.php
b/includes/cache/LinkCache.php
index
1dfefdf
..
2c11247
100644
(file)
--- 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 ] );