added unit-tests for version-check; implemented settings import/export in API; minor variable declarations

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-11-25 11:17:56 +01:00
parent f6e0298d25
commit c269cd5c5c
9 changed files with 146 additions and 107 deletions

View File

@@ -195,6 +195,7 @@ class Ftps extends ApiCommand implements ResourceEntity
$mail_body = $this->getMailTemplate($customer, 'mails', 'new_ftpaccount_by_customer_mailbody', $replace_arr, $this->lng['mails']['new_ftpaccount_by_customer']['mailbody']);
$_mailerror = false;
$mailerr_msg = "";
try {
$this->mailer()->Subject = $mail_subject;
$this->mailer()->AltBody = $mail_body;