MDL-59401 mod_workshop: rename method remanining fix
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 3 Oct 2017 11:05:12 +0000 (13:05 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 3 Oct 2017 11:05:12 +0000 (13:05 +0200)
mod/workshop/db/services.php

index 4521134..b97f3df 100644 (file)
@@ -120,9 +120,9 @@ $functions = array(
         'type'          => 'read',
         'services'      => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
     ),
-    'mod_workshop_get_user_assessments' => array(
+    'mod_workshop_get_reviewer_assessments' => array(
         'classname'     => 'mod_workshop_external',
-        'methodname'    => 'get_user_assessments',
+        'methodname'    => 'get_reviewer_assessments',
         'description'   => 'Retrieves all the assessments reviewed by the given user.',
         'type'          => 'read',
         'services'      => array(MOODLE_OFFICIAL_MOBILE_SERVICE)