From e550237b4becf3960801c7dddf7a92d712000a0f Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 10 May 2019 15:20:56 +0400 Subject: Renamed a classes function "update_service" Signed-off-by: Valentin Popov --- classes/local/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/local') diff --git a/classes/local/api.php b/classes/local/api.php index a025d16..eedcdbd 100644 --- a/classes/local/api.php +++ b/classes/local/api.php @@ -216,7 +216,7 @@ final class api { * @throws \coding_exception * @throws \dml_exception */ - public static function update_service(record $service): bool { + public static function set_service(record $service): bool { global $DB; $result = $DB->update_record(LW_TABLE_SERVICES, $service); -- cgit v1.2.3