Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
moodle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
moodle
moodle
Commits
75d5debe
Commit
75d5debe
authored
Oct 14, 2020
by
Brendan Heywood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDL-68010 tool_task: Allow disable tasks to still be run manually
parent
c307f3b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
admin/tool/task/renderer.php
admin/tool/task/renderer.php
+1
-1
No files found.
admin/tool/task/renderer.php
View file @
75d5debe
...
...
@@ -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
(
!
$
plugin
disabled
&&
get_config
(
'tool_task'
,
'enablerunnow'
)
&&
$canruntasks
)
{
$runnow
=
html_writer
::
div
(
html_writer
::
link
(
new
moodle_url
(
'/admin/tool/task/schedule_task.php'
,
[
'task'
=>
$classname
]),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment