[FIX] Admin warning about scheduler not running when no active schedulers exist

  • [FIX] Admin warning about scheduler not running when no active schedulers exist

The warning is now only displayed when:

  1. Scheduler feature is enabled (feature_scheduler = 'y')
  2. There are active scheduler tasks (not just 0 tasks or all inactive tasks)
  3. Those active tasks haven't run recently

If there are 0 tasks or 0 active tasks, the method returns true at line 105-107, preventing the warning from being displayed.

Issue : https://dev.tiki.org/item8801

Edited by Elifeleti Mukisa Dan

Merge request reports

Loading