Skip to content
Snippets Groups Projects
Unverified Commit c093eecf authored by Tobias Reischmann's avatar Tobias Reischmann
Browse files

Small changes

parent c62971e9
No related branches found
No related tags found
No related merge requests found
...@@ -47,6 +47,7 @@ class interaction_manager { ...@@ -47,6 +47,7 @@ class interaction_manager {
* @param int $stepid id of the step instance * @param int $stepid id of the step instance
* @param int $processid id of the process, the triggered action belongs to. * @param int $processid id of the process, the triggered action belongs to.
* @param string $action action string * @param string $action action string
* @throws \invalid_parameter_exception
*/ */
public static function handle_interaction($stepid, $processid, $action) { public static function handle_interaction($stepid, $processid, $action) {
$step = step_manager::get_step_instance($stepid); $step = step_manager::get_step_instance($stepid);
...@@ -58,7 +59,7 @@ class interaction_manager { ...@@ -58,7 +59,7 @@ class interaction_manager {
throw new \invalid_parameter_exception(get_string('noprocessfound', 'tool_cleanupcourses')); throw new \invalid_parameter_exception(get_string('noprocessfound', 'tool_cleanupcourses'));
} }
$interactionlib = lib_manager::get_step_interactionlib($step->subpluginname); $interactionlib = lib_manager::get_step_interactionlib($step->subpluginname);
return $interactionlib->handle_interaction($process, $step, $action); $interactionlib->handle_interaction($process, $step, $action);
} }
/** /**
......
...@@ -52,7 +52,7 @@ if (interaction_manager::interaction_available($stepinstance->subpluginname)) { ...@@ -52,7 +52,7 @@ if (interaction_manager::interaction_available($stepinstance->subpluginname)) {
$table = new interaction_table('tool_cleanupcourses_interaction', $stepinstance->id); $table = new interaction_table('tool_cleanupcourses_interaction', $stepinstance->id);
$table->out(5000, false); $table->out(50, false);
} else { } else {
echo get_string('nointeractioninterface', 'tool_cleanupcourses'); echo get_string('nointeractioninterface', 'tool_cleanupcourses');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment