Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove deprecated code in User getInboxNotificationAddress
  • Loading branch information
perlDreamer committed Dec 1, 2011
1 parent 234c698 commit 35fba13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/WebGUI/User.pm
Expand Up @@ -756,9 +756,9 @@ sent.
sub getInboxNotificationAddresses {
my $self = shift;
my $emails = '';
if ( $self->profileField('receiveInboxEmailNotifications')
&& $self->profileField('email')) {
$emails = $self->profileField('email');
if ( $self->get('receiveInboxEmailNotifications')
&& $self->get('email')) {
$emails = $self->get('email');
}
return $emails;
}
Expand Down

0 comments on commit 35fba13

Please sign in to comment.