Florian Schaal
2015-07-11 bedf79c47949b7d0cd3f07f46bb465c1e77fafe4
server/plugins-available/getmail_plugin.inc.php
@@ -100,7 +100,11 @@
         if($data["new"]["active"] == 'y') {
            // Open master template
            $tpl = file_get_contents($conf["rootpath"].'/conf/getmail.conf.master');
            if(file_exists($conf["rootpath"].'/conf-custom/getmail.conf.master')) {
               $tpl = file_get_contents($conf["rootpath"].'/conf-custom/getmail.conf.master');
            } else {
               $tpl = file_get_contents($conf["rootpath"].'/conf/getmail.conf.master');
            }
            // Shall emails be deleted after retrieval
            if($data["new"]["source_delete"] == 'y') {