Marius Cramer
2015-01-05 dee987b263b021b990ea4c62cb15be47c6d61fb5
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') {