Commit b0250b97 authored by Franco Fichtner's avatar Franco Fichtner

cron: unconditional flush for #911

parent d5654b79
...@@ -2354,10 +2354,8 @@ function configure_cron() ...@@ -2354,10 +2354,8 @@ function configure_cron()
/* PHP retains the index, can iterate all and unset */ /* PHP retains the index, can iterate all and unset */
foreach ($config['cron']['item'] as $item) { foreach ($config['cron']['item'] as $item) {
foreach ($obsoletes as $obsolete) { unset($config['cron']['item'][$index]);
unset($config['cron']['item'][$index]); $flush = true;
$flush = true;
}
$index++; $index++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment