jenkins-bot has submitted this change and it was merged.
Change subject: Finish removing the centralauth-autoaccount right
......................................................................
Finish removing the centralauth-autoaccount right
I5c87817f removed it almost entirely, but missed one use.
Change-Id: I2b6f267820dff25e36ec94c4e5a8a6b49eb09d87
---
M includes/CentralAuthPlugin.php
1 file changed, 1 insertion(+), 2 deletions(-)
Approvals:
Gergő Tisza: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/CentralAuthPlugin.php b/includes/CentralAuthPlugin.php
index f2a256b..7b834e0 100644
--- a/includes/CentralAuthPlugin.php
+++ b/includes/CentralAuthPlugin.php
@@ -239,8 +239,7 @@
public function autoCreate() {
// Yes unless account creation is restricted on this wiki
return User::isEveryoneAllowed( 'createaccount' )
- || User::isEveryoneAllowed( 'autocreateaccount' )
- || User::isEveryoneAllowed( 'centralauth-autoaccount' );
+ || User::isEveryoneAllowed( 'autocreateaccount' );
}
/**
--
To view, visit https://gerrit.wikimedia.org/r/291715
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2b6f267820dff25e36ec94c4e5a8a6b49eb09d87
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>
Gerrit-Reviewer: Gergő Tisza <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits