Skip to content

Commit 35fba13

Browse files
committedDec 1, 2011
Remove deprecated code in User getInboxNotificationAddress
1 parent 234c698 commit 35fba13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎lib/WebGUI/User.pm

+3-3
Original file line numberDiff line numberDiff line change
@@ -756,9 +756,9 @@ sent.
756756
sub getInboxNotificationAddresses {
757757
my $self = shift;
758758
my $emails = '';
759-
if ( $self->profileField('receiveInboxEmailNotifications')
760-
&& $self->profileField('email')) {
761-
$emails = $self->profileField('email');
759+
if ( $self->get('receiveInboxEmailNotifications')
760+
&& $self->get('email')) {
761+
$emails = $self->get('email');
762762
}
763763
return $emails;
764764
}

0 commit comments

Comments
 (0)
Please sign in to comment.