diff options
author | Valentin Popov <info@valentineus.link> | 2019-05-10 14:20:56 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2019-05-10 14:20:56 +0300 |
commit | e550237b4becf3960801c7dddf7a92d712000a0f (patch) | |
tree | b1b25ca7397e159cf0db54007102361683459573 /classes | |
parent | db2d98d210ae7c8df99d5cd2473f7e57fb5028f5 (diff) | |
download | local_webhooks-e550237b4becf3960801c7dddf7a92d712000a0f.tar.xz local_webhooks-e550237b4becf3960801c7dddf7a92d712000a0f.zip |
Renamed a classes function "update_service"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'classes')
-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 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); |