fixed [ 1298851 ] forum subscribers still get notif. after subscr. expired
This commit is contained in:
parent
872fd3c628
commit
e4c2bc9969
3 changed files with 19 additions and 6 deletions
|
|
@ -585,10 +585,10 @@ Send notifications to the thread and forum subscribers that a new post has been
|
|||
sub notifySubscribers {
|
||||
my $self = shift;
|
||||
my %subscribers;
|
||||
foreach my $userId (@{WebGUI::Grouping::getUsersInGroup($self->getThread->get("subscriptionGroupId"))}) {
|
||||
foreach my $userId (@{WebGUI::Grouping::getUsersInGroup($self->getThread->get("subscriptionGroupId"),undef,1)}) {
|
||||
$subscribers{$userId} = $userId unless ($userId eq $self->get("ownerUserId"));
|
||||
}
|
||||
foreach my $userId (@{WebGUI::Grouping::getUsersInGroup($self->getThread->getParent->get("subscriptionGroupId"))}) {
|
||||
foreach my $userId (@{WebGUI::Grouping::getUsersInGroup($self->getThread->getParent->get("subscriptionGroupId"),undef,1)}) {
|
||||
$subscribers{$userId} = $userId unless ($userId eq $self->get("ownerUserId"));
|
||||
}
|
||||
my %lang;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue