Commit Graph

17 Commits

Author SHA1 Message Date
Leon Stringer c1ebab394d MDL-76854 tool_monitor: subscription_deleted ctx
Fix course context for subscription_deleted event when deleting rules
with multiple subscriptions.
2023-07-15 08:10:46 +01:00
Eloy Lafuente (stronk7) d9f7fe9c3f MDL-77599 coding-style: Replace forbidden @const tags by @var
@const is not a valid phpdoc tag and @var should be used to
document both classes properties and constants (no matter how
weird that may sound, heh).

Link to (draft right now) PHP-FIG:

https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc-tags.md#518-var

So, with this commit we are just replacing all uses by the correct
@var one. Note that the type is entirely optional, in fact I think
that there isn't much need of it for constants because it's obvious
for both humans and machines which the type is. But, as far as it's
also correct to specify it, we haven't modified that detail.

The only detail modified are the cases where the constant name was
specified in the phpdoc, that's not needed, hence, the names have
been removed from there when present (a couple of cases).
2023-07-03 15:58:16 +02:00
Andrew Nicols d83be33f3d MDL-55547 tool_monitor: Coding style fixes 2017-02-28 09:43:21 +08:00
Marina Glancy 0c30e89f34 MDL-55547 tool_monitor: fix exceptions when course was deleted
Delete subscriptions when course is deleted
2017-02-20 12:11:29 +08:00
Jake Dallimore ea106d2a1d MDL-53431 tool_monitor: Access control for tool monitor subscriptions 2016-07-05 10:36:27 +08:00
Damyon Wiese d04803595c Merge branch 'MDL-47900_master' of https://github.com/markn86/moodle 2014-11-07 16:58:52 +08:00
Mark Nelson 475635f52d MDL-47900 tool_monitor: created list of rules MUC 2014-11-06 18:46:44 -08:00
Simey Lameze 7c2a2e1a93 MDL-47869 tool_monitor: Add sorting on event monitor pages 2014-11-06 14:53:10 +08:00
Simey Lameze ed9084f70b MDL-47892 tool_monitor: add count_rule_subscriptions method and unit tests 2014-10-31 15:10:19 +08:00
Frederic Massart d9e879e5d1 MDL-47889 tool_monitor: Test handles random DB ordering
On Oracle, the subscriptions are not ordered in the same way
than in other DB engines, so we do not rely on that ordering
any more in the test.
2014-10-28 13:52:45 +08:00
Mark Nelson 1adb0031c0 MDL-47153 tool_monitor: added subscription_deleted event 2014-10-21 15:48:10 -07:00
Mark Nelson 229f841907 MDL-47153 tool_monitor: added subscription_created event 2014-10-21 15:48:10 -07:00
Ankit Agarwal ffe9ed541c MDL-45758 tool_monitor: Update subscriptions management UI 2014-10-15 13:59:18 +05:30
Ankit Agarwal e24e0d24b9 MDL-45758 tool_monitor: Add observers to handle user and module deletion
Original issue - MDL-47376
2014-10-15 07:41:06 +05:30
Ankit Agarwal 01d070e74b MDL-45758 tool_monitor: Modifiy manager classes to return instances
Original issue - MDL-46132
2014-10-15 07:41:05 +05:30
Ankit Agarwal ac0e4dad7f MDL-45758 tool_monitor: Update subscription manager class
Update the class to support the subs renderable

Original issue - MDL-461111
2014-10-15 07:41:05 +05:30
Ankit Agarwal c8a081cc6b MDL-45758 tool_monitor: Add a subscription manager class
Original issue - MDL-45919
2014-10-15 07:41:04 +05:30