Follow-up I0b781c11 (2a55449): use User::getAutomaticGroups().
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Fri, 3 Aug 2012 19:41:44 +0000 (21:41 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Fri, 3 Aug 2012 19:41:44 +0000 (21:41 +0200)
commit1e8992ca7489e620d157d9a50d9aa5e611b84887
tree6cb40f7c963700fc6a1037586cd9d1e1772fe482
parent2a55449257b6a8b7e259cd8f5208b4734bd312d2
Follow-up I0b781c11 (2a55449): use User::getAutomaticGroups().

No need to duplicate the code of User::getAutomaticGroups() in
ApiQueryUsers::getAutoGroups(), instead just call that method
directly.
Also deprecated the latter in favour of the former and replaced
all calls in core.

Change-Id: I224cb610cbd6a927a4c7f7137951416368f8cb5d
includes/api/ApiQueryAllUsers.php
includes/api/ApiQueryUserInfo.php
includes/api/ApiQueryUsers.php