Skip to content
Snippets Groups Projects
Commit dec03a8f authored by Tobias Reischmann's avatar Tobias Reischmann Committed by MartinGauk
Browse files

Throw exception in process_waiting_course if called and not overridden

This changes the default of just proceeding a course. However, I can not
think of a scenario were this would make sense.
parent f0d8df4f
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ abstract class libbase { ...@@ -64,7 +64,7 @@ abstract class libbase {
* @return step_response * @return step_response
*/ */
public function process_waiting_course($processid, $instanceid, $course) { public function process_waiting_course($processid, $instanceid, $course) {
return step_response::proceed(); throw new \coding_exception("Processing of waiting courses is not supported for this workflow step.");
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment