diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index ad26621bc..528f69d45 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -15,7 +15,7 @@ - fixed #11540: Pending version tags are not completed on approval under certain conditions - fixed #11566: Group API: group membership cannot be checked without consideration of expiration dates. - fixed #11567: EMS: Build badge page, ticket tab, pagination - - added: a new inbox setting which allows administrators to choose not to send out friend rejection notices + - added: a new inbox setting which supresses friend rejection notices 7.9.4 - We're shipping underscore.js now for its suite of extremely handy utility diff --git a/lib/WebGUI/Workflow/Activity/DenyUnansweredFriends.pm b/lib/WebGUI/Workflow/Activity/DenyUnansweredFriends.pm index d3efa337c..b138cee05 100644 --- a/lib/WebGUI/Workflow/Activity/DenyUnansweredFriends.pm +++ b/lib/WebGUI/Workflow/Activity/DenyUnansweredFriends.pm @@ -87,7 +87,7 @@ sub execute { while (my $invite = $pending->hashRef) { my $sentOn = WebGUI::DateTime->new($session, $invite->{dateSent}); if (DateTime::Duration->compare($now - $sentOn, $outdated) == 1) { - WebGUI::Friends->new($session, WebGUI::User->new($session, $invite->{friendId}))->rejectAddRequest($invite->{inviteId},,$session->setting->get("sendRejectNotice")); + WebGUI::Friends->new($session, WebGUI::User->new($session, $invite->{friendId}))->rejectAddRequest($invite->{inviteId},$session->setting->get("sendRejectNotice")); } if (time() - $start > $ttl) { $pending->finish;