From a25b78c785e576a8e224ee4ddf8d1bc53704477d Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 16 Apr 2009 20:16:21 +0000 Subject: [PATCH] (bug 18487) Another fix for r48379: move up getMemcKey() as well --- includes/filerepo/FileRepo.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index 22e41d1a33..aaf548677e 100644 --- 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}"; + } + } -- 2.20.1