From e84ac6859a9eebe185b44ddb7ee44eafdfff5be1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 10 May 2019 15:22:48 +0400 Subject: Renamed a classes function "delete_service" Signed-off-by: Valentin Popov --- classes/local/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/local/api.php') 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]); -- cgit v1.2.3