diff options
author | Valentin Popov <info@valentineus.link> | 2019-05-10 14:22:48 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2019-05-10 14:22:48 +0300 |
commit | e84ac6859a9eebe185b44ddb7ee44eafdfff5be1 (patch) | |
tree | f8261b86f3a084c55892fec52d85ea830984b932 /classes/local | |
parent | e550237b4becf3960801c7dddf7a92d712000a0f (diff) | |
download | local_webhooks-e84ac6859a9eebe185b44ddb7ee44eafdfff5be1.tar.xz local_webhooks-e84ac6859a9eebe185b44ddb7ee44eafdfff5be1.zip |
Renamed a classes function "delete_service"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'classes/local')
-rw-r--r-- | classes/local/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/local/api.php b/classes/local/api.php index eedcdbd..eb713e4 100644 --- a/classes/local/api.php +++ b/classes/local/api.php @@ -81,7 +81,7 @@ final class api { * * @throws \dml_exception */ - public static function delete_service(int $id): bool { + public static function del_service(int $id): bool { global $DB; $DB->delete_records(LW_TABLE_EVENTS, ['serviceid' => $id]); |