Commit df3f0323 authored by Abhishek's avatar Abhishek
Browse files

minor change

parent 81a33738
Pipeline #12019 passed with stage
in 7 seconds
......@@ -19,7 +19,7 @@ defined('MOODLE_INTERNAL') || die();
*/
$functions = [
// This is our new, dedicated function to save a DTA submission.
// This is our new, dedicated function to save a DTA submission..
// It bypasses the problematic core 'mod_assign_save_submission' function.
'assignsubmission_dta_save_submission' => [
'classname' => 'assign_submission_dta_external',
......@@ -28,4 +28,4 @@ $functions = [
'type' => 'write',
'ajax' => true,
]
];
\ No newline at end of file
];
......@@ -75,7 +75,7 @@ class assign_submission_dta_external extends external_api {
$dta_plugin = new assign_submission_dta($assignment, $submission);
// Create a data object that mimics what a Moodle form would submit.
// The key 'tasks_filemanager' is critical and comes from your locallib.php.
// The key 'tasks_filemanager' is critical and comes from your locallib.php..
$data = new stdClass();
$data->tasks_filemanager = $itemid;
......@@ -92,4 +92,4 @@ class assign_submission_dta_external extends external_api {
public static function save_submission_returns(): external_value {
return new external_value(PARAM_BOOL, 'True if the submission was saved successfully.');
}
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment