Hello!
I need to catch the calendar updates. E.g., new event has been added to the calendar, event has been removed from the calendar etc.
I have found this thread which states:
Surprinsingly, Moodle's calendar does not use the events API (http://docs.moodle.org/dev/Events_API ) to notify that a calendar event has been addd, removed, modified ... but an hook mechanism with functions to call described in global $CFG .
Could you pint me to the documentation which describes the usage of hooks? How can I add the hook to the calendar from my (local) plugin?
Thanks in advance.