Correcting a stupid mistake

This commit is contained in:
Valentin Popov 2018-02-25 01:27:40 +04:00
parent 8f25379f32
commit f3c2ebbe4d
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3

View File

@ -411,7 +411,7 @@ class local_webhooks_external extends external_api {
public static function update_record_parameters() {
return new external_function_parameters(
array(
"service" => return new external_single_structure(
"service" => new external_single_structure(
array(
"id" => new external_value(PARAM_INT, "Service ID."),
"enable" => new external_value(PARAM_BOOL, "Enable or disable the service.", VALUE_OPTIONAL),