MDL-68010 tool_task: Allow disable tasks to still be run manually
This commit is contained in:
@@ -115,7 +115,7 @@ class tool_task_renderer extends plugin_renderer_base {
|
||||
$disabled = $plugindisabled || $task->get_disabled();
|
||||
|
||||
$runnow = '';
|
||||
if (!$disabled && get_config('tool_task', 'enablerunnow') && $canruntasks ) {
|
||||
if (!$plugindisabled && get_config('tool_task', 'enablerunnow') && $canruntasks ) {
|
||||
$runnow = html_writer::div(html_writer::link(
|
||||
new moodle_url('/admin/tool/task/schedule_task.php',
|
||||
['task' => $classname]),
|
||||
|
||||
Reference in New Issue
Block a user