From 1dc3ccd2e16fb03e6cbc8bd77e873786c81c7151 Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Sat, 23 Feb 2008 16:25:27 +0000 Subject: [PATCH] Let it be public, for CrosswikiBlock extension --- includes/UserRightsProxy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/UserRightsProxy.php b/includes/UserRightsProxy.php index de0e770c46..1e1684a095 100644 --- a/includes/UserRightsProxy.php +++ b/includes/UserRightsProxy.php @@ -65,7 +65,7 @@ class UserRightsProxy { * @param string $database * @return Database or null if invalid selection */ - private static function getDB( $database ) { + public static function getDB( $database ) { global $wgLocalDatabases, $wgDBname; if( self::validDatabase( $database ) ) { if( $database == $wgDBname ) { -- 2.20.1