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
(from parent 1:
e37a7f2
)
skins: Avoid deprecated wfMemcKey()
author
Kunal Mehta
<legoktm@member.fsf.org>
Wed, 24 May 2017 03:42:14 +0000
(20:42 -0700)
committer
Kunal Mehta
<legoktm@member.fsf.org>
Wed, 24 May 2017 04:01:09 +0000
(21:01 -0700)
Change-Id: Id31998b365f486a651341563c0b16a358ce2b31d
includes/skins/Skin.php
patch
|
blob
|
history
diff --git
a/includes/skins/Skin.php
b/includes/skins/Skin.php
index
1836661
..
ccb202e
100644
(file)
--- a/
includes/skins/Skin.php
+++ b/
includes/skins/Skin.php
@@
-1507,7
+1507,7
@@
abstract class Skin extends ContextSource {
}
// Use the extra hash appender to let eg SSL variants separately cache.
- $key =
wfMemc
Key( $name . $wgRenderHashAppend );
+ $key =
$parserMemc->make
Key( $name . $wgRenderHashAppend );
$cachedNotice = $parserMemc->get( $key );
if ( is_array( $cachedNotice ) ) {
if ( md5( $notice ) == $cachedNotice['hash'] ) {