WMDE-Fisch has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/405686 )
Change subject: Replace deprecated wfSuppress- and wfRestoreWarnings functions
......................................................................
Replace deprecated wfSuppress- and wfRestoreWarnings functions
Change-Id: I38b1cf6ada62f575ca625c69a4c4d6e7788f1067
---
M includes/specials/SpecialMergeAccount.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth
refs/changes/86/405686/1
diff --git a/includes/specials/SpecialMergeAccount.php
b/includes/specials/SpecialMergeAccount.php
index 4b87a58..5033dfc 100644
--- a/includes/specials/SpecialMergeAccount.php
+++ b/includes/specials/SpecialMergeAccount.php
@@ -146,14 +146,14 @@
* @return array|mixed
*/
private function getWorkingPasswords() {
- wfSuppressWarnings();
+ MediaWiki\suppressWarnings();
$data =
RequestContext::getMain()->getRequest()->getSessionData(
'wsCentralAuthMigration' );
$passwords = unserialize(
gzinflate(
$this->xorString(
$data[$this->mSessionToken],
$this->mSessionKey ) ) );
- wfRestoreWarnings();
+ MediaWiki\suppressWarnings( true );
if ( is_array( $passwords ) ) {
return $passwords;
}
--
To view, visit https://gerrit.wikimedia.org/r/405686
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I38b1cf6ada62f575ca625c69a4c4d6e7788f1067
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: WMDE-Fisch <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits