mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 16:04:35 +00:00
611d1610dd
I found this code while looking for possibly problematic count()s. I noticed the line "$user = $pageData['revisions'][0]…", which means the code assumes element [0] is always there. Therefore I droped the "count() == 1" check. The other count() got replaced with an isset(). Change-Id: Ic582c85d07db0cbed56512e3e381120b628f2288 |
||
---|---|---|
.. | ||
backfillReadBundles.php | ||
backfillUnreadWikis.php | ||
generateSampleNotifications.php | ||
processEchoEmailBatch.php | ||
removeInvalidNotification.php | ||
removeOrphanedEvents.php | ||
testDiscussionParser.php | ||
updateEchoSchemaForSuppression.php | ||
updatePerUserBlacklist.php |