tbrehm
2011-09-05 ced7fc44a7b6fe5db023fca9eefa61e39ad51545
server/plugins-available/maildrop_plugin.inc.php
@@ -60,7 +60,7 @@
      Register for the events
      */
      
      $app->plugins->registerEvent('mail_user_update','maildrop_plugin','insert');
      $app->plugins->registerEvent('mail_user_insert','maildrop_plugin','update');
      $app->plugins->registerEvent('mail_user_update','maildrop_plugin','update');
      $app->plugins->registerEvent('mail_user_delete','maildrop_plugin','delete');
      
@@ -125,7 +125,7 @@
         $file = $this->mailfilter_config_dir.'/'.$email_parts[1].'/'.$email_parts[0].'/.vacation.msg';
         if(is_file($file)) unlink($file) or $app->log("Unable to delete file: $file",LOGLEVEL_WARN);
         $file = $this->mailfilter_config_dir.'/'.$email_parts[1].'/'.$email_parts[0].'/.autoresponder';
         if(is_file($file)) unlink($ar_file) or $app->log("Unable to delete file: $ar_file",LOGLEVEL_WARN);
         if(is_file($file)) unlink($file) or $app->log("Unable to delete file: $file",LOGLEVEL_WARN);
         
         
         //Now we create the new autoresponder, if it is enabled