From: umherirrender Date: Fri, 26 Sep 2014 19:22:20 +0000 (+0200) Subject: Remove ApiQueryUsers::getAutoGroups (deprecated 1.20) X-Git-Tag: 1.31.0-rc.0~13795^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=307d5ac0a2374606feeaed2dd3768789aaa1b41f;p=lhc%2Fweb%2Fwiklou.git Remove ApiQueryUsers::getAutoGroups (deprecated 1.20) Change-Id: Idb43eca139c3e63f8a53ef076b2dfa7c5e3941b5 --- diff --git a/RELEASE-NOTES-1.25 b/RELEASE-NOTES-1.25 index aa46518225..f40dfe768e 100644 --- a/RELEASE-NOTES-1.25 +++ b/RELEASE-NOTES-1.25 @@ -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 == diff --git a/includes/api/ApiQueryUsers.php b/includes/api/ApiQueryUsers.php index 2f5e4b4bf8..c1472790ba 100644 --- a/includes/api/ApiQueryUsers.php +++ b/includes/api/ApiQueryUsers.php @@ -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';