Mattflaschen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/297943

Change subject: Fix E_NOTICE due to event_delete missing on foreign 
psuedo-notification
......................................................................

Fix E_NOTICE due to event_delete missing on foreign psuedo-notification

Bug: T139536
Change-Id: Ie4536543bdc39abc55ecfc3224845ff6c97069ea
---
M includes/api/ApiEchoNotifications.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/43/297943/1

diff --git a/includes/api/ApiEchoNotifications.php 
b/includes/api/ApiEchoNotifications.php
index 2096881..bee4f45 100644
--- a/includes/api/ApiEchoNotifications.php
+++ b/includes/api/ApiEchoNotifications.php
@@ -386,6 +386,7 @@
                        'wikis' => $wikis,
                        'count' => $count
                ) );
+               $row->event_deleted = 0;
 
                $row->notification_user = $user->getId();
                $row->notification_timestamp = $maxTimestamp;

-- 
To view, visit https://gerrit.wikimedia.org/r/297943
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie4536543bdc39abc55ecfc3224845ff6c97069ea
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <mflasc...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to