mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
(bug 44056) Making sure user cache is invalidated by new notifications
Change-Id: I14491c1ba987bbf429ae9afcb7c32a2a5455e21f
This commit is contained in:
parent
071afe5fe3
commit
7a8fc68dee
|
@ -174,6 +174,7 @@ class EchoNotificationController {
|
||||||
*/
|
*/
|
||||||
public static function resetNotificationCount( $user, $dbSource = DB_SLAVE ) {
|
public static function resetNotificationCount( $user, $dbSource = DB_SLAVE ) {
|
||||||
self::getNotificationCount( $user, false, $dbSource );
|
self::getNotificationCount( $user, false, $dbSource );
|
||||||
|
$user->invalidateCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue