Hello everybody
I want to turn off the email notifications for deleted tickets and tried it with the following entry in config_inc.php and it didn't work:
$g_notify_flags['deleted'] = array(
'reporter' => OFF,
'handler' => OFF,
'monitor' => OFF,
'bugnotes' => OFF,
'explicit' => ON,
'threshold_min' => ANYBODY,
'threshold_max' => ANYBODY);
'Didn't work' means: The user gets a email for the ticket deletion. Is the code above incorrect?
Systeminformation
MantisBT: 1.2.17
EMailReportingPlugin: 0.9.0-DEV
Yours sincerely
Jeromy
Don't send emails for deleted tickets
Moderators: Developer, Contributor
Re: Don't send emails for deleted tickets
Hello atrol
Thanks for your reply, works like a charm. But that means, that $g_notify_flags is not in use anymore?
Thanks for your reply, works like a charm. But that means, that $g_notify_flags is not in use anymore?
Re: Don't send emails for deleted tickets
$g_notify_flags should still work.
But the settings in config_defaults_inc.php and config_inc.php are just fallback settings if there is no setting in database.
Maybe you used "Manage" > "Manage Configuration" > "E-mail Notifications" some time before.
But the settings in config_defaults_inc.php and config_inc.php are just fallback settings if there is no setting in database.
Maybe you used "Manage" > "Manage Configuration" > "E-mail Notifications" some time before.
Re: Don't send emails for deleted tickets
Ok, that make sense.
Thanks for the clarification!
Thanks for the clarification!