Bsitu has uploaded a new change for review. https://gerrit.wikimedia.org/r/150876
Change subject: Fix a function param in API ...................................................................... Fix a function param in API The distributionType is still passed to the function, it will be arry of event types in next patch Change-Id: Ieae7cfc383c2a024256f7e6b2f91d3b5c323f79b --- M api/ApiEchoNotifications.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo refs/changes/76/150876/1 diff --git a/api/ApiEchoNotifications.php b/api/ApiEchoNotifications.php index 4534d8c..939cfac 100644 --- a/api/ApiEchoNotifications.php +++ b/api/ApiEchoNotifications.php @@ -66,7 +66,7 @@ // Fetch the result for the event types above $notifMapper = new EchoNotificationMapper( MWEchoDbFactory::newFromDefault() ); - $notifs = $notifMapper->fetchByUser( $user, $limit + 1, $continue, $eventTypesToLoad ); + $notifs = $notifMapper->fetchByUser( $user, $limit + 1, $continue, 'web' ); foreach ( $notifs as $notif ) { $result['list'][$notif->getEvent()->getID()] = EchoDataOutputFormatter::formatOutput( $notif, $format, $user ); } -- To view, visit https://gerrit.wikimedia.org/r/150876 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ieae7cfc383c2a024256f7e6b2f91d3b5c323f79b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Echo Gerrit-Branch: master Gerrit-Owner: Bsitu <bs...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits