Commit ae6af9ea authored by tbrehm's avatar tbrehm

Fixed: FS#1561 - Filter rule to send email copys is only created on update and not on insert.

parent d46c52df
......@@ -60,6 +60,7 @@ class maildeliver_plugin {
Register for the events
*/
$app->plugins->registerEvent('mail_user_insert','maildeliver_plugin','update');
$app->plugins->registerEvent('mail_user_update','maildeliver_plugin','update');
$app->plugins->registerEvent('mail_user_delete','maildeliver_plugin','delete');
......
......@@ -60,6 +60,7 @@ class maildrop_plugin {
Register for the events
*/
$app->plugins->registerEvent('mail_user_update','maildrop_plugin','insert');
$app->plugins->registerEvent('mail_user_update','maildrop_plugin','update');
$app->plugins->registerEvent('mail_user_delete','maildrop_plugin','delete');
......
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