(bug 42975) Reset notification count when visiting Special:Notifications

Change-Id: Iaf3f4f5be575c36c4459e252bc83f414eb07e381
This commit is contained in:
Krenair 2012-12-12 19:56:48 +00:00
parent 825b5d7c34
commit a5c23033e9

View file

@ -23,6 +23,8 @@ class SpecialNotifications extends SpecialPage {
return;
}
EchoNotificationController::resetNotificationCount( $user );
// The timestamp and offset to pull current set of data from, this
// would be used for browsers with javascript disabled
$timestamp = $offset = 0;