20after4 has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/361935 )

Change subject: Fix 'Undefined class: LoginNotifyPresentationModel' error
......................................................................


Fix 'Undefined class: LoginNotifyPresentationModel' error

Bug: T168899
Change-Id: Id845fcb5c53a2ac172a86fb4aa1cc8c246c9e19b
(cherry picked from commit d283f05ef1d5bb700dd5f832e569b7ceeed70ab7)
---
M includes/Hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  20after4: Verified; Looks good to me, approved



diff --git a/includes/Hooks.php b/includes/Hooks.php
index ff83a9d..86d8794 100644
--- a/includes/Hooks.php
+++ b/includes/Hooks.php
@@ -49,7 +49,7 @@
                        ],
                        'category' => 'login-fail',
                        'group' => 'negative',
-                       'presentation-model' => 'LoginNotifyPresentationModel',
+                       'presentation-model' => PresentationModel::class,
                        // fixme, what does this actually do?
                        'title-message' => 'loginnotify-login-fail',
                        'title-params' => [],

-- 
To view, visit https://gerrit.wikimedia.org/r/361935
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id845fcb5c53a2ac172a86fb4aa1cc8c246c9e19b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LoginNotify
Gerrit-Branch: wmf/1.30.0-wmf.7
Gerrit-Owner: 20after4 <mmod...@wikimedia.org>
Gerrit-Reviewer: 20after4 <mmod...@wikimedia.org>
Gerrit-Reviewer: Niharika29 <nko...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to