Skip to content
Snippets Groups Projects
Commit a81ab9b2 authored by Thom's avatar Thom :tools:
Browse files

Backport from !738

parent 98ba3c40
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ class getmail_plugin {
function update($event_name, $data) {
global $app, $conf;
// Do not write getmail config files on mirror servers to avoid double fetching of emails.
if($conf['mirror_server_id'] > 0) return true;
......@@ -116,7 +116,7 @@ class getmail_plugin {
$tpl = str_replace('{DELETE}', 'false', $tpl);
}
if($data["new"]["read_all"] == 'y') {
if($data["new"]["source_read_all"] == 'y') {
$tpl = str_replace('{READ_ALL}', 'true', $tpl);
} else {
$tpl = str_replace('{READ_ALL}', 'false', $tpl);
......
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