From a5054efc97d9eb8e785b30aef4faaa8137a5b0f1 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 17 Jun 2010 08:15:56 +0000 Subject: [PATCH] Rem whitespace, function comment for r68158 --- includes/api/ApiQueryUsers.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/api/ApiQueryUsers.php b/includes/api/ApiQueryUsers.php index 5f6b016c35..82cdccae62 100644 --- a/includes/api/ApiQueryUsers.php +++ b/includes/api/ApiQueryUsers.php @@ -220,6 +220,10 @@ if ( !defined( 'MEDIAWIKI' ) ) { return $this->getResult()->setIndexedTagName_internal( array( 'query', $this->getModuleName() ), 'user' ); } + /** + * Gets all the groups that a user is automatically a member of + * @return array + */ public static function getAutoGroups( $user ) { $autolist = array(); $autolist[] = "*"; @@ -228,7 +232,7 @@ if ( !defined( 'MEDIAWIKI' ) ) { foreach( Autopromote::getAutopromoteGroups( $user ) as $group ) { $autolist[] = $group; } - + return $autolist; } -- 2.20.1