-
Bug
-
Resolution: Fixed
-
Blocker
-
2.8
-
MOODLE_28_STABLE
-
MOODLE_28_STABLE
-
MDL-48156-master-pluginisenabled -
In the MDL-46207, we introduced a check for the plugin enabled/disabled status. Since 2.8, we do not execute tasks for disabled plugins unless the task explicitly overrides this behaviour via `get_run_if_component_disabled()` method.
However, the world is not black and white. Many of our plugin types (most actually) do not have support for enabling/disabling individual plugins. For these, the plugininfo's `is_enabled()` returns null (as documented in that method's phpDoc).
The trouble is that we do not execute tasks for these plugins too - we consider them all as disabled. Which is IMHO wrong. We should explicitly check for really disabled plugins.
- caused a regression
-
MDL-48383 Cron warns about disabled enrol_imsenterprise after each scheduled task
-
- Closed
-
- has a non-specific relationship to
-
MDL-75308 Scheduled Task: Run now is not appearing for Local Plugins
-
- Closed
-
- has been marked as being related by
-
MDL-47206 Allow 'tool' plugins to run scheduled tasks
-
- Closed
-
- is a regression caused by
-
MDL-46207 Scheduled tasks should consider the enabled state of a plugin
-
- Closed
-
- will help resolve
-
MDLSITE-3593 The task local_plugins\task\update_download_stats not execute since Oct 27
-
- Closed
-