From 0a4f3eb27de9ee3ee23fd59aa1d3e3c684f8f816 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 3 May 2016 09:21:21 +0800 Subject: [PATCH] MDL-54026 WS: Convert type 'delete' => 'write' This was not the type you were looking for. --- lib/db/services.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/db/services.php b/lib/db/services.php index 695623616c0..f96b123f992 100644 --- a/lib/db/services.php +++ b/lib/db/services.php @@ -86,7 +86,7 @@ $functions = array( 'methodname' => 'delete_cohort_members', 'classpath' => 'cohort/externallib.php', 'description' => 'Deletes cohort members.', - 'type' => 'delete', + 'type' => 'write', 'capabilities' => 'moodle/cohort:assign' ), 'core_cohort_delete_cohorts' => array( @@ -94,7 +94,7 @@ $functions = array( 'methodname' => 'delete_cohorts', 'classpath' => 'cohort/externallib.php', 'description' => 'Deletes all specified cohorts.', - 'type' => 'delete', + 'type' => 'write', 'capabilities' => 'moodle/cohort:manage' ), 'core_cohort_get_cohort_members' => array( @@ -439,7 +439,7 @@ $functions = array( 'methodname' => 'delete_group_members', 'classpath' => 'group/externallib.php', 'description' => 'Deletes group members.', - 'type' => 'delete', + 'type' => 'write', 'capabilities' => 'moodle/course:managegroups' ), 'core_group_delete_groupings' => array( @@ -454,7 +454,7 @@ $functions = array( 'methodname' => 'delete_groups', 'classpath' => 'group/externallib.php', 'description' => 'Deletes all specified groups.', - 'type' => 'delete', + 'type' => 'write', 'capabilities' => 'moodle/course:managegroups' ), 'core_group_get_activity_allowed_groups' => array( -- 2.43.0