mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-11 17:00:10 +00:00
Special:Notifications (no-js): filter out deleted events
Change-Id: Ie2e6b3ba388650f28ddc050624a52c410248fbd8
This commit is contained in:
parent
5b7f24b11e
commit
bfcfdded40
|
@ -3,7 +3,7 @@
|
|||
/**
|
||||
* This pager is used by Special:Notifications (NO-JS).
|
||||
* The heavy-lifting is done by IndexPager (grand-parent to this class).
|
||||
* It paginates on notification_event for a specific user, bundle_base=1, and the user's enabled event types.
|
||||
* It paginates on notification_event for a specific user, only for the enabled event types.
|
||||
*
|
||||
* Class NotificationPager
|
||||
*/
|
||||
|
@ -30,6 +30,7 @@ class NotificationPager extends ReverseChronologicalPager {
|
|||
'conds' => array(
|
||||
'notification_user' => $this->getUser()->getId(),
|
||||
'event_type' => $eventTypes,
|
||||
'event_deleted' => 0,
|
||||
),
|
||||
'options' => array(),
|
||||
'join_conds' =>
|
||||
|
|
Loading…
Reference in a new issue