Let it be public, for CrosswikiBlock extension
authorVictor Vasiliev <vasilievvv@users.mediawiki.org>
Sat, 23 Feb 2008 16:25:27 +0000 (16:25 +0000)
committerVictor Vasiliev <vasilievvv@users.mediawiki.org>
Sat, 23 Feb 2008 16:25:27 +0000 (16:25 +0000)
includes/UserRightsProxy.php

index de0e770..1e1684a 100644 (file)
@@ -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 ) {