Hi
I need to set the config variable notify_flags for ONE project so that all developers will get mails for all new issues:
$g_notify_flags['new']['threshold_min'] = DEVELOPER;
$g_notify_flags['new']['threshold_max'] = DEVELOPER;
Sure I can add this in the config file but I only need it for one project and not for all.
How can I add these options in the web interface Manage Configuration?
Using Mantis 1.1.1
Set notify_flags in Manage Configuration
Moderators: Developer, Contributor
Re: Set notify_flags in Manage Configuration
Nofify_flags can't be managed per project.
You must change the config_default_inc.php file.
After $g_notify_flags line(s) you must insert the following line:
!!X is the project_id!!!
if $t_current_project == X {
$g_notify_flags['new']['threshold_min'] = DEVELOPER;
$g_notify_flags['new']['threshold_max'] = DEVELOPER;
}
You must change the config_default_inc.php file.
After $g_notify_flags line(s) you must insert the following line:
!!X is the project_id!!!
if $t_current_project == X {
$g_notify_flags['new']['threshold_min'] = DEVELOPER;
$g_notify_flags['new']['threshold_max'] = DEVELOPER;
}