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:
aa7b63c
)
wfForeignMemcKey() just exists, we don't have to keep around crazy back compat for...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Fri, 6 Aug 2010 16:02:42 +0000
(16:02 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Fri, 6 Aug 2010 16:02:42 +0000
(16:02 +0000)
includes/UserRightsProxy.php
patch
|
blob
|
history
diff --git
a/includes/UserRightsProxy.php
b/includes/UserRightsProxy.php
index
6ecfeda
..
ee7e195
100644
(file)
--- a/
includes/UserRightsProxy.php
+++ b/
includes/UserRightsProxy.php
@@
-193,11
+193,7
@@
class UserRightsProxy {
__METHOD__ );
global $wgMemc;
- if ( function_exists( 'wfForeignMemcKey' ) ) {
- $key = wfForeignMemcKey( $this->database, false, 'user', 'id', $this->id );
- } else {
- $key = "$this->database:user:id:" . $this->id;
- }
+ $key = wfForeignMemcKey( $this->database, false, 'user', 'id', $this->id );
$wgMemc->delete( $key );
}
}