Update UsersPager to make buildGroupLink, getGroups accessible in subclasses (i.e...
authorAndrew Garrett <werdna@users.mediawiki.org>
Mon, 28 Apr 2008 09:04:17 +0000 (09:04 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Mon, 28 Apr 2008 09:04:17 +0000 (09:04 +0000)
includes/SpecialListusers.php

index 102c242..6d32f9a 100644 (file)
@@ -185,7 +185,7 @@ class UsersPager extends AlphabeticPager {
         * @param int $uid
         * @return array
         */
-       private static function getGroups( $uid ) {
+       protected static function getGroups( $uid ) {
                $dbr = wfGetDB( DB_SLAVE );
                $groups = array();
                $res = $dbr->select( 'user_groups', 'ug_group', array( 'ug_user' => $uid ), __METHOD__ );