mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-28 02:00:06 +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() {
|
||||
foreach ( $this->auth->getAllModules() as $key => $module ) {
|
||||
foreach ( $this->auth->getAllModules() as $module ) {
|
||||
if ( $this->isModuleEnabled( $module ) ) {
|
||||
continue;
|
||||
}
|
||||
|
@ -351,7 +351,7 @@ class OATHManage extends SpecialPage {
|
|||
}
|
||||
|
||||
private function hasAlternativeModules() {
|
||||
foreach ( $this->auth->getAllModules() as $key => $module ) {
|
||||
foreach ( $this->auth->getAllModules() as $module ) {
|
||||
if ( !$this->isModuleEnabled( $module ) ) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue