Merge branch 'MDL-50853-master' of git://github.com/jleyva/moodle
[moodle.git] / lib / db / services.php
index 565d4c9..8e4fc13 100644 (file)
@@ -1064,6 +1064,22 @@ $functions = array(
         'type'          => 'read',
         'capabilities'  => 'moodle/rating:view'
     ),
+
+    // Tag functions.
+   'core_tag_update_tags' => array(
+        'classname'   => 'core_tag_external',
+        'methodname'  => 'update_tags',
+        'description' => 'Updates tags',
+        'type'        => 'write',
+    ),
+
+    'core_tag_get_tags' => array(
+        'classname'   => 'core_tag_external',
+        'methodname'  => 'get_tags',
+        'description' => 'Gets tags by their ids',
+        'type'        => 'read',
+    ),
+
 );
 
 $services = array(