aboutsummaryrefslogtreecommitdiff
path: root/classes/local/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/local/api.php')
-rw-r--r--classes/local/api.php2
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);