Skip to content

Commit

Permalink
MDL-55740 assign: Add assignment WS to the mobile service
Browse files Browse the repository at this point in the history
* mod_assign_submit_grading_form
* mod_assign_get_participant to the mobile service
  • Loading branch information
jleyva committed Sep 20, 2016
1 parent 1f27448 commit 114eaf5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions mod/assign/db/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@
'description' => 'Submit the grading form data via ajax',
'type' => 'write',
'ajax' => true,
'capabilities' => 'mod/assign:grade'
'capabilities' => 'mod/assign:grade',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),
'mod_assign_get_participant' => array(
'classname' => 'mod_assign_external',
Expand All @@ -227,7 +228,8 @@
'description' => 'Get a participant for an assignment, with some summary info about their submissions.',
'type' => 'read',
'ajax' => true,
'capabilities' => 'mod/assign:view, mod/assign:viewgrades'
'capabilities' => 'mod/assign:view, mod/assign:viewgrades',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),
'mod_assign_view_assign' => array(
'classname' => 'mod_assign_external',
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'mod_assign'; // Full name of the plugin (used for diagnostics).
$plugin->version = 2016070402; // The current module version (Date: YYYYMMDDXX).
$plugin->version = 2016070403; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2016051900; // Requires this Moodle version.
$plugin->cron = 60;

0 comments on commit 114eaf5

Please sign in to comment.