jenkins-bot has submitted this change and it was merged.
Change subject: (bug 44056) Making sure user cache is invalidated by new
notifications
......................................................................
(bug 44056) Making sure user cache is invalidated by new notifications
Change-Id: I14491c1ba987bbf429ae9afcb7c32a2a5455e21f
---
M controller/NotificationController.php
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Bsitu: Looks good to me, approved
jenkins-bot: Verified
diff --git a/controller/NotificationController.php
b/controller/NotificationController.php
index fce6e98..699517b 100644
--- a/controller/NotificationController.php
+++ b/controller/NotificationController.php
@@ -174,6 +174,7 @@
*/
public static function resetNotificationCount( $user, $dbSource =
DB_SLAVE ) {
self::getNotificationCount( $user, false, $dbSource );
+ $user->invalidateCache();
}
/**
--
To view, visit https://gerrit.wikimedia.org/r/57183
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I14491c1ba987bbf429ae9afcb7c32a2a5455e21f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>
Gerrit-Reviewer: Bsitu <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits