mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-17 04:42:47 +00:00
06f0a7a6d5
This cache was only used so that, if we're told to clear the newtalk flag and we already know there are no edit-user-talk notifications, we won't try to delete them. But that's not a good justification for such a confusingly-written cache that would have been hard to convert to getWithSetCallback(), and I'm concerned that using cached data to make this decision could lead to inconsistencies. Also remove the notifCountHasReachedMax() check, which made no sense: if the user has >99 notifications, that is no justification for not marking their user talk notifications as read when they visit their user talk page. Whether the displayed notification count will change has no bearing on whether these notifications should be marked as read (and now that bundled notifications are counted individually, the displayed count actually could change). Bug: T164860 Change-Id: I3ff5c9b31307839b9336bd8856015db9baa52fad |
||
---|---|---|
.. | ||
AbstractEntity.php | ||
Event.php | ||
Notification.php | ||
TargetPage.php |