mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-68010 tool_task: Allow disable tasks to still be run manually
This commit is contained in:
parent
c307f3b138
commit
75d5debe54
@ -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]),
|
||||
|
Loading…
x
Reference in New Issue
Block a user