mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-12 09:26:05 +00:00
Merge "Fix a function param in API"
This commit is contained in:
commit
a2dcf255e5
|
@ -66,7 +66,7 @@ class ApiEchoNotifications extends ApiQueryBase {
|
|||
|
||||
// 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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue