Remove ApiQueryUsers::getAutoGroups (deprecated 1.20)
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 26 Sep 2014 19:22:20 +0000 (21:22 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 26 Sep 2014 21:32:25 +0000 (14:32 -0700)
Change-Id: Idb43eca139c3e63f8a53ef076b2dfa7c5e3941b5

RELEASE-NOTES-1.25
includes/api/ApiQueryUsers.php

index aa46518..f40dfe7 100644 (file)
@@ -35,6 +35,7 @@ changes to languages because of Bugzilla reports.
 * Javascript variable 'wgFileCanRotate' now only available on Special:Upload.
 * (bug 56257) Set site logo from mediawiki.skinning.interface module instead of
   inline styles in the HTML.
+* Removed ApiQueryUsers::getAutoGroups(). (deprecated since 1.20)
 
 == Compatibility ==
 
index 2f5e4b4..c147279 100644 (file)
@@ -277,19 +277,6 @@ class ApiQueryUsers extends ApiQueryBase {
                $result->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'user' );
        }
 
-       /**
-        * Gets all the groups that a user is automatically a member of (implicit groups)
-        *
-        * @deprecated since 1.20; call User::getAutomaticGroups() directly.
-        * @param User $user
-        * @return array
-        */
-       public static function getAutoGroups( $user ) {
-               wfDeprecated( __METHOD__, '1.20' );
-
-               return $user->getAutomaticGroups();
-       }
-
        public function getCacheMode( $params ) {
                if ( isset( $params['token'] ) ) {
                        return 'private';