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:
2f05988
)
CachingSiteStore: Avoid deprecated wfMemcKey()
author
Kunal Mehta
<legoktm@member.fsf.org>
Thu, 25 May 2017 07:48:34 +0000
(
00:48
-0700)
committer
Kunal Mehta
<legoktm@member.fsf.org>
Thu, 25 May 2017 18:20:24 +0000
(11:20 -0700)
Change-Id: I123b29dd41c6e0f020e0fcc661813addbec92b27
includes/site/CachingSiteStore.php
patch
|
blob
|
history
diff --git
a/includes/site/CachingSiteStore.php
b/includes/site/CachingSiteStore.php
index
a2f43f3
..
f3cd1e8
100644
(file)
--- a/
includes/site/CachingSiteStore.php
+++ b/
includes/site/CachingSiteStore.php
@@
-90,7
+90,7
@@
class CachingSiteStore implements SiteStore {
private function getCacheKey() {
if ( $this->cacheKey === null ) {
$type = 'SiteList#' . SiteList::getSerialVersionId();
- $this->cacheKey =
wfMemc
Key( "sites/$type" );
+ $this->cacheKey =
$this->cache->make
Key( "sites/$type" );
}
return $this->cacheKey;