diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/events.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/db/events.php b/db/events.php index 0fc9abb..5960797 100644 --- a/db/events.php +++ b/db/events.php @@ -17,16 +17,15 @@ /** * Registration of observers for events. * - * @copyright 2018 'Valentin Popov' <info@valentineus.link> + * @copyright 2019 'Valentin Popov' <info@valentineus.link> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - * @package local_webhooks */ defined('MOODLE_INTERNAL') || die(); -$observers = array( - array( - 'callback' => '\local_webhooks\event_observer::observe_all', +$observers = [ + [ + 'callback' => '\local_webhooks\event\observer::handler', 'eventname' => '*', - ), -);
\ No newline at end of file + ], +];
\ No newline at end of file |