MaxSem has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/384104 )
Change subject: Replace deprecated wfRunHooks() with Hooks::run() ...................................................................... Replace deprecated wfRunHooks() with Hooks::run() Change-Id: I0cb724aee17949e86a045ab616407351afb4ca63 --- M handlers/AuthenticationHandler.php 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/OAuthAuthentication refs/changes/04/384104/1 diff --git a/handlers/AuthenticationHandler.php b/handlers/AuthenticationHandler.php index 7e944f4..78a5470 100644 --- a/handlers/AuthenticationHandler.php +++ b/handlers/AuthenticationHandler.php @@ -2,6 +2,7 @@ namespace MediaWiki\Extensions\OAuthAuthentication; +use Hooks; use MediaWiki\OAuthClient\Token; class AuthenticationHandler { @@ -79,7 +80,7 @@ $u->addWatch( $u->getUserPage(), \WatchedItem::IGNORE_USER_RIGHTS ); $u->saveSettings(); - wfRunHooks( 'AddNewAccount', [ $u, false ] ); + Hooks::run( 'AddNewAccount', [ $u, false ] ); $exUser->setLocalId( $u->getId() ); } -- To view, visit https://gerrit.wikimedia.org/r/384104 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0cb724aee17949e86a045ab616407351afb4ca63 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/OAuthAuthentication Gerrit-Branch: master Gerrit-Owner: MaxSem <maxsem.w...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits