[completed: 592] Inactive users no longer receive email notifications for page/message updates.
This commit is contained in:
parent
4249a761d7
commit
3c81c74f49
3 changed files with 5 additions and 5 deletions
|
@ -887,7 +887,7 @@ namespace ScrewTurn.Wiki {
|
|||
// TODO: make this work when Users.GetUsers does not return all existing users but only a sub-set
|
||||
List<UserInfo> usersToNotify = new List<UserInfo>(10);
|
||||
foreach(UserInfo user in Users.GetUsers()) {
|
||||
if(CanApproveDraft(currentPage, user.Username, user.Groups)) {
|
||||
if(user.Active && CanApproveDraft(currentPage, user.Username, user.Groups)) {
|
||||
usersToNotify.Add(user);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue