jenkins-bot has submitted this change and it was merged. Change subject: Remove use of deprecated getPossibleErrors (since 1.24) ......................................................................
Remove use of deprecated getPossibleErrors (since 1.24) Change-Id: I2f9892ac2ef1f054ac419a907f2d5e19484d838f --- M ApiPersona.php 1 file changed, 0 insertions(+), 13 deletions(-) Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified diff --git a/ApiPersona.php b/ApiPersona.php index 6d5c37f..21c5c70 100644 --- a/ApiPersona.php +++ b/ApiPersona.php @@ -60,19 +60,6 @@ ); } - function getPossibleErrors() { - return array_merge( parent::getPossibleErrors(), array( - array( 'sessionfailure' ), - array( 'actionthrottledtext' ), - array( 'code' => 'insecure', 'info' => 'Secure login is enabled, and an insecure (non-HTTPS) request was made.' ), - array( 'code' => 'failure', 'info' => 'The Persona verification API failed to verify your assertion.' ), - array( 'code' => 'error', 'info' => 'There was some sort of external server error.' ), - array( 'code' => 'dberror', 'info' => 'An internal database error occurred.' ), - array( 'code' => 'invaliduser', 'info' => 'No valid user matched the assertion token provided' ), - array( 'code' => 'multipleusers', 'info' => 'Multiple users with the same email matched.' ) - ) ); - } - function execute() { global $wgSecureLogin; $webRequest = $this->getRequest(); -- To view, visit https://gerrit.wikimedia.org/r/157083 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2f9892ac2ef1f054ac419a907f2d5e19484d838f Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Persona Gerrit-Branch: master Gerrit-Owner: Addshore <addshorew...@gmail.com> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits