(bug 44056) Making sure user cache is invalidated by new notifications

Change-Id: I14491c1ba987bbf429ae9afcb7c32a2a5455e21f
This commit is contained in:
kaldari 2013-04-02 13:37:00 -07:00
parent 071afe5fe3
commit 7a8fc68dee

View file

@ -174,6 +174,7 @@ class EchoNotificationController {
*/
public static function resetNotificationCount( $user, $dbSource = DB_SLAVE ) {
self::getNotificationCount( $user, false, $dbSource );
$user->invalidateCache();
}
/**