From a5c23033e9c68f88b0cc8d856fe0b7a2269a8a7d Mon Sep 17 00:00:00 2001 From: Krenair Date: Wed, 12 Dec 2012 19:56:48 +0000 Subject: [PATCH] (bug 42975) Reset notification count when visiting Special:Notifications Change-Id: Iaf3f4f5be575c36c4459e252bc83f414eb07e381 --- special/SpecialNotifications.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/special/SpecialNotifications.php b/special/SpecialNotifications.php index 5ad0080df..008e4334d 100644 --- a/special/SpecialNotifications.php +++ b/special/SpecialNotifications.php @@ -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;