Index: trunk/phase3/includes/api/ApiQueryAllUsers.php |
— | — | @@ -35,7 +35,6 @@ |
36 | 36 | * @ingroup API |
37 | 37 | */ |
38 | 38 | class ApiQueryAllUsers extends ApiQueryBase { |
39 | | - |
40 | 39 | public function __construct( $query, $moduleName ) { |
41 | 40 | parent::__construct( $query, $moduleName, 'au' ); |
42 | 41 | } |
— | — | @@ -53,7 +52,7 @@ |
54 | 53 | $fld_rights = isset( $prop['rights'] ); |
55 | 54 | $fld_registration = isset( $prop['registration'] ); |
56 | 55 | } else { |
57 | | - $fld_blockinfo = $fld_editcount = $fld_groups = $fld_registration = false; |
| 56 | + $fld_blockinfo = $fld_editcount = $fld_groups = $fld_registration = $fld_rights = false; |
58 | 57 | } |
59 | 58 | |
60 | 59 | $limit = $params['limit']; |