mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
9f37ba0511
Some Echo events include 'revid' in their extra info. It can be used to check if a revision is minor in order to respect the 'enotifminoredits' preference. This patch ensures that it is not trying to call a function on a null revision reference and it logs to debug to help troubleshooting. Also encapsulate the "is minor" check to a private function to (hopefully) make the relationship with the preference more clear. Bug: T204795 Change-Id: I28a4c54f610dccc1356f6af0de9c2623d7bf94f0 |
||
---|---|---|
.. | ||
ModerationController.php | ||
NotificationController.php |