Change occurances of user->profileField to user->get
This commit is contained in:
parent
ae48e7517a
commit
59c03b50e7
41 changed files with 86 additions and 86 deletions
|
|
@ -332,7 +332,7 @@ sub create {
|
|||
$email = $user->getInboxNotificationAddresses;
|
||||
}
|
||||
else {
|
||||
$email = $user->profileField("email");
|
||||
$email = $user->get("email");
|
||||
}
|
||||
if ($email) {
|
||||
if ($headers->{to}) {
|
||||
|
|
@ -568,7 +568,7 @@ sub send {
|
|||
$emailAddress = $user->getInboxNotificationAddresses;
|
||||
}
|
||||
else {
|
||||
$emailAddress = $user->profileField('email');
|
||||
$emailAddress = $user->get('email');
|
||||
}
|
||||
next USER unless $emailAddress;
|
||||
$mail->head->replace('To', $emailAddress);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue