Commit 83348182 authored by Helmo's avatar Helmo
Browse files

Remove maildrop references from comments, #5324

Extra removal was already removed on the master branch via commit 5827252b
parent 6fdad71a
Pipeline #4794 passed with stage
in 8 minutes and 7 seconds
......@@ -118,7 +118,7 @@ class mail_user_filter_plugin {
/*
private function to create the mail filter rules in maildrop or sieve format.
Private function to create the mail filter rules in sieve format.
*/
private function mail_user_filter_get_rule($page_form) {
......
......@@ -389,17 +389,6 @@ class mail_plugin {
$app->system->exec_safe('mv -f ? ?', $data['old']['maildir'], $data['new']['maildir']);
$app->log('Moved Maildir from: '.$data['old']['maildir'].' to '.$data['new']['maildir'], LOGLEVEL_DEBUG);
}
//This is to fix the maildrop quota not being rebuilt after the quota is changed.
// Courier Layout
if(is_dir($data['new']['maildir'].'/new') && $mail_config['pop3_imap_daemon'] != 'dovecot') {
if($data['new']['quota'] > 0) {
if(is_dir($data['new']['maildir'])) $app->system->exec_safe("su -c ? ?", "maildirmake -q ".$data['new']['quota']."S ".$data['new']['maildir'], $user);
$app->log('Updated Maildir quota: '."su -c 'maildirmake -q ".$data['new']['quota']."S ".$data['new']['maildir']."' ".$user, LOGLEVEL_DEBUG);
} else {
if(file_exists($data['new']['maildir'].'/maildirsize')) unlink($data['new']['maildir'].'/maildirsize');
$app->log('Set Maildir quota to unlimited.', LOGLEVEL_DEBUG);
}
}
}
}
......
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