Merge branch 'MDL-68450-master' of git://github.com/cescobedo/moodle
authorSara Arjona <sara@moodle.com>
Mon, 18 May 2020 14:16:23 +0000 (16:16 +0200)
committerSara Arjona <sara@moodle.com>
Mon, 18 May 2020 14:16:23 +0000 (16:16 +0200)
1  2 
mod/h5pactivity/db/services.php
mod/h5pactivity/version.php

  defined('MOODLE_INTERNAL') || die;
  
  $functions = [
-     ]
- ];
 +    'mod_h5pactivity_get_h5pactivity_access_information' => [
 +        'classname'     => 'mod_h5pactivity\external\get_h5pactivity_access_information',
 +        'methodname'    => 'execute',
 +        'classpath'     => '',
 +        'description'   => 'Return access information for a given h5p activity.',
 +        'type'          => 'read',
 +        'capabilities'  => 'mod/h5pactivity:view',
 +        'services'      => [MOODLE_OFFICIAL_MOBILE_SERVICE],
 -    ]
++    ],
+     'mod_h5pactivity_view_h5pactivity' => [
+         'classname'     => 'mod_h5pactivity\external\view_h5pactivity',
+         'methodname'    => 'execute',
+         'classpath'     => '',
+         'description'   => 'Trigger the course module viewed event and update the module completion status.',
+         'type'          => 'write',
+         'capabilities'  => 'mod/h5pactivity:view',
+         'services'      => [MOODLE_OFFICIAL_MOBILE_SERVICE],
++    ],
+ ];
@@@ -25,5 -25,5 +25,5 @@@
  defined('MOODLE_INTERNAL') || die();
  
  $plugin->component = 'mod_h5pactivity';
--$plugin->version = 2020042203;
++$plugin->version = 2020042204;
  $plugin->requires = 2020013000;