Remove deprecated code in User getInboxNotificationAddress

This commit is contained in:
Colin Kuskie 2011-11-30 17:12:38 -08:00
parent 234c6988ab
commit 35fba133fc

View file

@ -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;
}