From: Sam Reed Date: Thu, 17 Jun 2010 08:15:56 +0000 (+0000) Subject: Rem whitespace, function comment for r68158 X-Git-Tag: 1.31.0-rc.0~36484 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=a5054efc97d9eb8e785b30aef4faaa8137a5b0f1;p=lhc%2Fweb%2Fwiklou.git Rem whitespace, function comment for r68158 --- 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; }