MDL-47465 tool_monitor: Ignore used events
authorAnkit Agarwal <ankit@moodle.com>
Fri, 17 Oct 2014 08:03:10 +0000 (13:33 +0530)
committerAnkit Agarwal <ankit@moodle.com>
Mon, 3 Nov 2014 01:48:13 +0000 (07:18 +0530)
commitc4e3e128846450a99c77036908b86a833167a775
tree08441d75ef3f4a5e4f964dd647bad4df34483898
parent1af956998e2ec310419e7f90761bb95db11ba937
MDL-47465 tool_monitor: Ignore used events

An event that has already contributed to a notification should not contribute to another notification for the same subscription.
This needs to be done so we do not overwhelm the user.
admin/tool/monitor/classes/eventobservers.php
admin/tool/monitor/tests/eventobservers_test.php