-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
3.9
-
None
-
MOODLE_39_STABLE
In the 'component' column of the "Scheduled tasks" admin screen, there can appear a new "Disabled" tag. This tag does not seem to have anything to do with the task enable/disable setting, as it can appear on tasks that are enabled. It may be that its supposed to indicate whether the plugin it is associated with is "disabled", but this does not seem to be correct either. I noticed this on our local plugins, which do not have the ability to be disabled. But it is also visible on core components, such as the "assignfeedback_editpdf" plugin (see attached image).
I believe this has to do with an incorrect use of the '$plugininfo->is_enabled()' function in 'admin/tool/task/renderer.php::component_name()'.