sebsoftnl / moodle-tool_usersuspension

Other
2 stars 14 forks source link

Fix set_lastrun_config key/value swap #5

Closed projectbadger closed 1 year ago

projectbadger commented 1 year ago

Setting the config value for the lastrun variable with set_config had swapped key and value; resulting in a new plugin config setting for each scheduled task run.

lib/moodlelib.php:function set_config($name, $value, $plugin=null)

Fixes lastrun config and smart detection.

projectbadger commented 1 year ago

Anyone here?

It's an easy fix to a bug, present since 2015...