Remove deprecated code in User getInboxNotificationAddress
This commit is contained in:
parent
234c6988ab
commit
35fba133fc
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue