Case missmatch of function calls
This commit is contained in:
@@ -142,9 +142,9 @@ class Mysqls extends ApiCommand implements ResourceEntity
|
||||
try {
|
||||
$this->mailer()->Subject = $mail_subject;
|
||||
$this->mailer()->AltBody = $mail_body;
|
||||
$this->mailer()->MsgHTML(str_replace("\n", "<br />", $mail_body));
|
||||
$this->mailer()->AddAddress($userinfo['email'], getCorrectUserSalutation($userinfo));
|
||||
$this->mailer()->Send();
|
||||
$this->mailer()->msgHTML(str_replace("\n", "<br />", $mail_body));
|
||||
$this->mailer()->addAddress($userinfo['email'], getCorrectUserSalutation($userinfo));
|
||||
$this->mailer()->send();
|
||||
} catch (phpmailerException $e) {
|
||||
$mailerr_msg = $e->errorMessage();
|
||||
$_mailerror = true;
|
||||
@@ -158,7 +158,7 @@ class Mysqls extends ApiCommand implements ResourceEntity
|
||||
standard_error('errorsendingmail', $userinfo['email'], true);
|
||||
}
|
||||
|
||||
$this->mailer()->ClearAddresses();
|
||||
$this->mailer()->clearAddresses();
|
||||
}
|
||||
$this->logger()->logAction($this->isAdmin() ? ADM_ACTION : USR_ACTION, LOG_WARNING, "[API] added mysql-database '" . $username . "'");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user