Forward port of inactive user group email fix, and user status documentation.

This commit is contained in:
Colin Kuskie 2007-06-28 20:03:22 +00:00
parent 4c705b9859
commit 4f570b67c9
3 changed files with 8 additions and 0 deletions

View file

@ -49,6 +49,10 @@
- RFE: HttpProxy - regexp for URLs that will not be proxied. Url pattern
filters can now be created in HttpProxy wobject properties.
7.3.20
- fix: Deactivated Users Subscriptions (perlDreamer Consulting, LLC)
http://www.webgui.org/bugs/tracker/deactivated-users-subscriptions
7.3.19
- Fixed a formatting problem in the workflow editor screen.
- fix: bad javascript string escaping in EMS

View file

@ -419,6 +419,7 @@ sub send {
$self->{_message}->head->replace("cc", undef);
foreach my $userId (@{$group->getAllUsers(1)}) {
my $user = WebGUI::User->new($self->session, $userId);
next unless $user->status eq 'Active'; ##Don't send this to invalid user accounts
if ($user->profileField("email")) {
$self->{_message}->head->replace("To",$user->profileField("email"));
$self->queue;

View file

@ -533,6 +533,9 @@ Returns the status of the user.
=head3 value
If specified, the status is set to this value. Possible values are 'Active', 'Selfdestructed' and 'Deactivated'.
'Selfdestructed' means that the user deactivated their own account. 'Deactivated' means that either
their status has been changed by an Admin, or that this is a new account that is pending email
confirmation before activation.
=cut