diff options
Diffstat (limited to 'locallib.php')
-rw-r--r-- | locallib.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/locallib.php b/locallib.php index 0a776b0..4fae651 100644 --- a/locallib.php +++ b/locallib.php @@ -79,6 +79,8 @@ function local_webhooks_cache_reset() { * @return boolean */ function local_webhooks_insert_events($serviceid, $events) { + global $DB; + $records = array(); foreach ($events as $eventname => $eventstatus) { |