dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1822774
)
Rem whitespace, function comment for r68158
author
Sam Reed
<reedy@users.mediawiki.org>
Thu, 17 Jun 2010 08:15:56 +0000
(08:15 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Thu, 17 Jun 2010 08:15:56 +0000
(08:15 +0000)
includes/api/ApiQueryUsers.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryUsers.php
b/includes/api/ApiQueryUsers.php
index
5f6b016
..
82cdcca
100644
(file)
--- 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;
}