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:
cefab8b
)
SpecialVersion: Avoid deprecated wfMemcKey()
author
Kunal Mehta
<legoktm@member.fsf.org>
Thu, 25 May 2017 07:47:46 +0000
(
00:47
-0700)
committer
Kunal Mehta
<legoktm@member.fsf.org>
Thu, 25 May 2017 18:20:24 +0000
(11:20 -0700)
Change-Id: I7cfaf049a4e193bdb12b5233f0460e71cbe876af
includes/specials/SpecialVersion.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialVersion.php
b/includes/specials/SpecialVersion.php
index
708eced
..
caa0e1f
100644
(file)
--- a/
includes/specials/SpecialVersion.php
+++ b/
includes/specials/SpecialVersion.php
@@
-732,7
+732,9
@@
class SpecialVersion extends SpecialPage {
}
}
$cache = wfGetCache( CACHE_ANYTHING );
- $memcKey = wfMemcKey( 'specialversion-ext-version-text', $extension['path'], $this->coreId );
+ $memcKey = $cache->makeKey(
+ 'specialversion-ext-version-text', $extension['path'], $this->coreId
+ );
list( $vcsVersion, $vcsLink, $vcsDate ) = $cache->get( $memcKey );
if ( !$vcsVersion ) {