Fix broken contribution listings with postgres by adding a new variable
[lhc/web/wiklou.git] / includes / FileStore.php
index 69e4be8..35ebd55 100644 (file)
@@ -62,8 +62,7 @@ class FileStore {
        }
        
        private static function lockName() {
-               global $wgDBname, $wgDBprefix;
-               return "MediaWiki.{$wgDBname}.{$wgDBprefix}FileStore";
+               return 'MediaWiki.' . wfWikiID() . '.FileStore';
        }
        
        /**