Skip to content
Snippets Groups Projects
Commit 9c919b82 authored by Martin Gauk's avatar Martin Gauk Committed by Tobias Reischmann
Browse files

Delete course step: delete waiting courses

The delete course step should override the process_waiting_course
function in order to process waiting courses correctly.
parent f752b450
Branches
Tags
No related merge requests found
......@@ -66,6 +66,21 @@ class deletecourse extends libbase {
return step_response::proceed();
}
/**
* Processes the course in status waiting and returns a repsonse.
* The response tells either
* - that the subplugin is finished processing.
* - that the subplugin is not yet finished processing.
* - that a rollback for this course is necessary.
* @param int $processid of the respective process.
* @param int $instanceid of the step instance.
* @param mixed $course to be processed.
* @return step_response
*/
public function process_waiting_course($processid, $instanceid, $course) {
return $this->process_course($processid, $instanceid, $course);
}
/**
* The return value should be equivalent with the name of the subplugin folder.
* @return string technical name of the subplugin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment