Index: trunk/extensions/OpenStackManager/special/SpecialNovaSudoer.php |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | * @return bool |
39 | 39 | */ |
40 | 40 | function createSudoer() { |
41 | | - global $wgRequest, $wgOut; |
| 41 | + global $wgOut; |
42 | 42 | |
43 | 43 | $this->setHeaders(); |
44 | 44 | $wgOut->setPagetitle( wfMsg( 'openstackmanager-createsudoer' ) ); |
Index: trunk/extensions/OpenStackManager/OpenStackNovaSudoer.php |
— | — | @@ -131,7 +131,6 @@ |
132 | 132 | function modifySudoer( $users, $hosts, $commands, $options ) { |
133 | 133 | global $wgAuth; |
134 | 134 | global $wgOpenStackManagerLDAPUser, $wgOpenStackManagerLDAPUserPassword; |
135 | | - global $wgOpenStackManagerLDAPSudoerBaseDN; |
136 | 135 | global $wgOpenStackManagerLDAPDomain; |
137 | 136 | |
138 | 137 | $wgAuth->connect( $wgOpenStackManagerLDAPDomain ); |
— | — | @@ -172,7 +171,7 @@ |
173 | 172 | static function getAllSudoers() { |
174 | 173 | global $wgAuth; |
175 | 174 | global $wgOpenStackManagerLDAPUser, $wgOpenStackManagerLDAPUserPassword; |
176 | | - global $wgOpenStackManagerLDAPSudoerBaseDN; |
| 175 | + global $wgOpenStackManagerLDAPSudoerBaseDN, $wgOpenStackManagerLDAPDomain; |
177 | 176 | |
178 | 177 | $wgAuth->connect( $wgOpenStackManagerLDAPDomain ); |
179 | 178 | $wgAuth->bindAs( $wgOpenStackManagerLDAPUser, $wgOpenStackManagerLDAPUserPassword ); |