MDL-35312 Web Services: Fixed typo in capability of course update
authorFrederic Massart <fred@moodle.com>
Mon, 17 Sep 2012 03:38:43 +0000 (11:38 +0800)
committerFrederic Massart <fred@moodle.com>
Fri, 21 Sep 2012 01:57:45 +0000 (09:57 +0800)
lib/db/services.php

index 4df607a..dbbc38b 100644 (file)
@@ -522,7 +522,7 @@ $functions = array(
         'classpath'   => 'course/externallib.php',
         'description' => 'Update categories',
         'type'        => 'write',
-        'capabilities'=> 'moodle:category/manage',
+        'capabilities'=> 'moodle/category:manage',
     ),
 
     'core_course_delete_categories' => array(