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:
d1bea3f
)
(bug 18487) Another fix for r48379: move up getMemcKey() as well
author
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 16 Apr 2009 20:16:21 +0000
(20:16 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 16 Apr 2009 20:16:21 +0000
(20:16 +0000)
includes/filerepo/FileRepo.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/FileRepo.php
b/includes/filerepo/FileRepo.php
index
22e41d1
..
aaf5486
100644
(file)
--- a/
includes/filerepo/FileRepo.php
+++ b/
includes/filerepo/FileRepo.php
@@
-599,4
+599,9
@@
abstract class FileRepo {
function getMasterDB() {
return wfGetDB( DB_MASTER );
}
+
+ function getMemcKey( $key ) {
+ return wfWikiID( $this->getSlaveDB() ) . ":{$key}";
+ }
+
}