Skip to content

Commit e447461

Browse files
committed
Update README.md
It had not been updated to reflect code changes
1 parent 9f485c5 commit e447461

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Project Notifications
22
MantisBT plugin that enables customization of notifications on a per-project basis
33

4-
Change [notification_inc.php](files/config/notification_inc.php) to add custom notifications.
4+
The first step to use this plugin is to disable the notifications you don't want to receive on Mantis settings page. Then you need to tweak the [notification_inc.php](files/config/notification_inc.php) file and add from which project each user wants to receive notifications.
55

6-
The `$notification_config` variable is an array of projects and each project is an array of users. Each user is then an array with the names of notifications that should **not** be sent to *that* user for *that* project.
6+
The `$notification_config` variable is an array of projects and each project is an array of users. When Mantis is sending a notification, we will check if the corresponding project has an entry on that file. If it does, we will add the users to the list of recipients for that notification. Finally we will overwrite Mantis settings and make sure that those users receive that notification (if we don't, Mantis will check that they have notifications disabled and won't send it to them).
77

8-
If a project or a user is not set in that variable, notifications will be sent according to Mantis' settings.
8+
If a project or a user is not set in that variable, notifications will be sent according to Mantis' settings.

0 commit comments

Comments
 (0)