Actions
Regression #13833
closedCron jobs are not removed by ``install_cron_job`` when set inactive as they should be
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
23.01
Release Notes:
Force Exclusion
Affected Version:
Affected Architecture:
Description
There is a regression in install_cron_job
where it fails to remove cron jobs when they are set inactive ($active == false
)
When refactored for PHP 8.1, it's doing an array_slice()
on the results of config_get_path()
which can't work as it's not going to return a reference which array_splice()
expects.
Looks like that can easily be replaced by config_del_path()
instead of array_splice()
.
There are no other instances where that happens in the code, so it's a unique regression.
Actions