MediaWiki  master
UserClearNewTalkNotificationHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\User\Hook;
4 
6 
24  public function onUserClearNewTalkNotification( $userIdentity, $oldid );
25 }
MediaWiki\User\Hook\UserClearNewTalkNotificationHook\onUserClearNewTalkNotification
onUserClearNewTalkNotification( $userIdentity, $oldid)
This hook is called before clearing the "You have new messages!" message.
MediaWiki\User\Hook
Definition: AutopromoteConditionHook.php:3
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition: UserIdentity.php:32
MediaWiki\User\Hook\UserClearNewTalkNotificationHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserClearNewTalkNotificationHook.php:14