diff options
author | Valentin Popov <info@valentineus.link> | 2018-02-20 14:17:27 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2018-02-20 14:17:27 +0300 |
commit | b6ddc8bd40600142a08b59480132deb69c7922a5 (patch) | |
tree | 8f54e34b8a7d9614713e33e51360466ba5299749 /externallib.php | |
parent | f10786bfb0dff66cfeb8d9f98d042d23bc314369 (diff) | |
download | local_webhooks-b6ddc8bd40600142a08b59480132deb69c7922a5.tar.xz local_webhooks-b6ddc8bd40600142a08b59480132deb69c7922a5.zip |
Some variables have been removed
Diffstat (limited to 'externallib.php')
-rw-r--r-- | externallib.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/externallib.php b/externallib.php index 0c5cc3d..9f0b877 100644 --- a/externallib.php +++ b/externallib.php @@ -64,8 +64,7 @@ class local_webhooks_external extends external_api { $context = context_system::instance(); self::validate_context($context); - $result = local_webhooks_change_status($parameters["serviceid"]); - return $result; + return local_webhooks_change_status($parameters["serviceid"]); } /** @@ -535,8 +534,7 @@ class local_webhooks_external extends external_api { $context = context_system::instance(); self::validate_context($context); - $result = local_webhooks_delete_record($parameters["serviceid"]); - return $result; + return local_webhooks_delete_record($parameters["serviceid"]); } /** @@ -571,8 +569,7 @@ class local_webhooks_external extends external_api { $context = context_system::instance(); self::validate_context($context); - $result = local_webhooks_delete_all_records(); - return $result; + return local_webhooks_delete_all_records(); } /** @@ -607,8 +604,7 @@ class local_webhooks_external extends external_api { $context = context_system::instance(); self::validate_context($context); - $result = local_webhooks_create_backup(); - return $result; + return local_webhooks_create_backup(); } /** |