mediawiki-extensions-Echo/includes/mapper
Matthias Mullie 2a1abc0281 Share code between EchoNotificationMapper::fetchByUser & fetchUnreadByUser
The only difference at this point is that fetchByUser initializes
the EchoNotification object with $targetPages. It doesn't really
matter that it doesn't have the target pages, since fetchUnreadByUser
is currently only used in the flyout, where those target pages aren't
used. But regardless of what method was used to fetch the data, I
think the data should be the same.

And now, there's less code duplication...

Change-Id: I04c7b98794af5427a2217dd337108e7eea1e65c5
2015-12-10 17:19:46 +01:00
..
AbstractMapper.php Fix some phpdoc, add missing @throws 2015-11-12 14:10:52 -08:00
EventMapper.php EventMapper::fetchByUserBundleHash(): Always return an array 2015-11-19 10:12:43 -08:00
NotificationMapper.php Share code between EchoNotificationMapper::fetchByUser & fetchUnreadByUser 2015-12-10 17:19:46 +01:00
TargetPageMapper.php Update formatting 2015-10-03 23:28:54 -04:00