mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-30 19:14:31 +00:00
Remove unused $key variables from foreach()
Change-Id: Ib035ff7fc3eeeb73b6f870b226775d61b3caee11
This commit is contained in:
parent
248d2bb8d6
commit
6adc5ecabf
|
@ -175,7 +175,7 @@ class OATHManage extends SpecialPage {
|
||||||
}
|
}
|
||||||
|
|
||||||
private function addInactiveHTML() {
|
private function addInactiveHTML() {
|
||||||
foreach ( $this->auth->getAllModules() as $key => $module ) {
|
foreach ( $this->auth->getAllModules() as $module ) {
|
||||||
if ( $this->isModuleEnabled( $module ) ) {
|
if ( $this->isModuleEnabled( $module ) ) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -351,7 +351,7 @@ class OATHManage extends SpecialPage {
|
||||||
}
|
}
|
||||||
|
|
||||||
private function hasAlternativeModules() {
|
private function hasAlternativeModules() {
|
||||||
foreach ( $this->auth->getAllModules() as $key => $module ) {
|
foreach ( $this->auth->getAllModules() as $module ) {
|
||||||
if ( !$this->isModuleEnabled( $module ) ) {
|
if ( !$this->isModuleEnabled( $module ) ) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue