Skip to content
Snippets Groups Projects
Commit 1f93c0d6 authored by tbrehm's avatar tbrehm
Browse files

Fixed getmail crontab problem.

parent 27c3a61c
No related branches found
No related tags found
No related merge requests found
......@@ -828,7 +828,7 @@ class installer_dist extends installer_base {
foreach($cron_jobs as $key => $val) {
if(stristr($val,'getmail')) unset($existing_cron_jobs[$key]);
}
foreach($cron_jobs as $cron_job) {
if(!in_array($cron_job."\n", $existing_cron_jobs)) {
$existing_cron_jobs[] = $cron_job."\n";
......
......@@ -846,7 +846,7 @@ class installer_dist extends installer_base {
foreach($cron_jobs as $key => $val) {
if(stristr($val,'getmail')) unset($existing_cron_jobs[$key]);
}
foreach($cron_jobs as $cron_job) {
if(!in_array($cron_job."\n", $existing_cron_jobs)) {
$existing_cron_jobs[] = $cron_job."\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment