[Dovecot] Split imapsync cron by --

This commit is contained in:
andryyy 2018-12-10 13:24:51 +01:00
parent 09b9055f1a
commit b710cb751b

View File

@ -18,7 +18,13 @@ if ($imapsync_running eq 1)
exit;
}
sub qqw($) { split /\s+/, $_[0] }
sub qqw($) {
my @values = split('(?=--)', $_[0]);
foreach my $val (@values) {
$val=trim($val);
}
return @values
}
$DBNAME = '';
$DBUSER = '';