diff options
author | Valentin Popov <info@valentineus.link> | 2018-03-12 23:52:51 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-03-12 23:52:51 +0300 |
commit | 98c33a639ae8716ff65b62a561a6d9668be53955 (patch) | |
tree | 13008832b7d285f28b7f75b9bf103827b9d730b6 | |
parent | 98e5a6470dddb8a9e92e9f507d88e5c89007acc5 (diff) | |
download | local_webhooks-98c33a639ae8716ff65b62a561a6d9668be53955.tar.xz local_webhooks-98c33a639ae8716ff65b62a561a6d9668be53955.zip |
Added function 'local_webhooks_delete_all_records'
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | lib.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -219,6 +219,7 @@ function local_webhooks_delete_all_records() { global $DB; $result = $DB->delete_records(LOCAL_WEBHOOKS_TABLE_SERVICES, null); + $DB->delete_records(LOCAL_WEBHOOKS_TABLE_EVENTS, null); /* Clear the plugin cache */ local_webhooks_cache_reset(); |