Merge branch 'MDL-61245-master' of git://github.com/jleyva/moodle
[moodle.git] / lib / db / services.php
index 4893b41..10bd788 100644 (file)
@@ -83,6 +83,15 @@ $functions = array(
         'ajax'          => true,
         'loginrequired' => false,
     ),
+    'core_blog_view_entries' => array(
+        'classname'   => 'core_blog\external',
+        'methodname'  => 'view_entries',
+        'description' => 'Trigger the blog_entries_viewed event.',
+        'type'        => 'read',
+        'services'    => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
+        'ajax'          => true,
+        'loginrequired' => false,
+    ),
     'core_calendar_get_calendar_monthly_view' => array(
         'classname' => 'core_calendar_external',
         'methodname' => 'get_calendar_monthly_view',