File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -825,7 +825,7 @@ public function install_crontab()
825825 );
826826
827827 // remove existing ispconfig cronjobs, in case the syntax has changed
828- foreach ($ cron_jobs as $ key => $ val ) {
828+ foreach ($ existing_cron_jobs as $ key => $ val ) {
829829 if (stristr ($ val ,'getmail ' )) unset($ existing_cron_jobs [$ key ]);
830830 }
831831
Original file line number Diff line number Diff line change @@ -843,7 +843,7 @@ public function install_crontab()
843843 );
844844
845845 // remove existing ispconfig cronjobs, in case the syntax has changed
846- foreach ($ cron_jobs as $ key => $ val ) {
846+ foreach ($ existing_cron_jobs as $ key => $ val ) {
847847 if (stristr ($ val ,'getmail ' )) unset($ existing_cron_jobs [$ key ]);
848848 }
849849
Original file line number Diff line number Diff line change @@ -1110,7 +1110,7 @@ public function install_crontab()
11101110 );
11111111
11121112 // remove existing ispconfig cronjobs, in case the syntax has changed
1113- foreach ($ cron_jobs as $ key => $ val ) {
1113+ foreach ($ existing_cron_jobs as $ key => $ val ) {
11141114 if (stristr ($ val ,'getmail ' )) unset($ existing_cron_jobs [$ key ]);
11151115 }
11161116
You can’t perform that action at this time.
0 commit comments