ApiBase.php:
[lhc/web/wiklou.git] / includes / api / ApiQuerySiteinfo.php
index 53ef290..d2a4c18 100644 (file)
@@ -1,10 +1,9 @@
 <?php
-
 /**
- * Created on Sep 25, 2006
- *
  * API for MediaWiki 1.8+
  *
+ * Created on Sep 25, 2006
+ *
  * Copyright © 2006 Yuri Astrakhan <Firstname><Lastname>@gmail.com
  *
  * This program is free software; you can redistribute it and/or modify
@@ -21,6 +20,8 @@
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  * http://www.gnu.org/copyleft/gpl.html
+ *
+ * @file
  */
 
 if ( !defined( 'MEDIAWIKI' ) ) {
@@ -335,10 +336,10 @@ class ApiQuerySiteinfo extends ApiQueryBase {
                        }
                        
                        $groupArr = array(
-                               'add' => &$wgAddGroups,
-                               'remove' => &$wgRemoveGroups,
-                               'add-self' => &$wgGroupsAddToSelf,
-                               'remove-self' => &$wgGroupsRemoveFromSelf
+                               'add' => $wgAddGroups,
+                               'remove' => $wgRemoveGroups,
+                               'add-self' => $wgGroupsAddToSelf,
+                               'remove-self' => $wgGroupsRemoveFromSelf
                        );
                        
                        foreach( $groupArr as $type => $rights ) {