From 1d5e0ce2c6015826d765cf8419a170c629ac8290 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Mon, 24 Apr 2017 19:22:24 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BC=D0=BF=D0=BE=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D1=82=20=D0=B4=D0=BB=D1=8F=20email'=D0=BE=D0=B2=20=D0=BF?= =?UTF-8?q?=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D1=89=D1=91=D0=BD=20=D0=B2=20com?= =?UTF-8?q?mon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/models/authentication/ForgotPasswordForm.php | 2 +- api/models/authentication/RegistrationForm.php | 2 +- .../authentication/RepeatAccountActivationForm.php | 2 +- api/models/profile/ChangeEmail/InitStateForm.php | 2 +- api/models/profile/ChangeEmail/NewEmailForm.php | 2 +- {api => common}/emails/EmailHelper.php | 14 +++++++------- {api => common}/emails/Template.php | 4 ++-- {api => common}/emails/TemplateWithRenderer.php | 2 +- .../emails/exceptions/CannotSendEmailException.php | 2 +- .../templates/ChangeEmailConfirmCurrentEmail.php | 8 ++++---- .../templates/ChangeEmailConfirmNewEmail.php | 8 ++++---- .../emails/templates/ForgotPasswordEmail.php | 4 ++-- .../emails/templates/ForgotPasswordParams.php | 2 +- .../emails/templates/RegistrationEmail.php | 4 ++-- .../emails/templates/RegistrationEmailParams.php | 2 +- 15 files changed, 30 insertions(+), 30 deletions(-) rename {api => common}/emails/EmailHelper.php (84%) rename {api => common}/emails/Template.php (95%) rename {api => common}/emails/TemplateWithRenderer.php (98%) rename {api => common}/emails/exceptions/CannotSendEmailException.php (68%) rename {api => common}/emails/templates/ChangeEmailConfirmCurrentEmail.php (74%) rename {api => common}/emails/templates/ChangeEmailConfirmNewEmail.php (77%) rename {api => common}/emails/templates/ForgotPasswordEmail.php (90%) rename {api => common}/emails/templates/ForgotPasswordParams.php (93%) rename {api => common}/emails/templates/RegistrationEmail.php (90%) rename {api => common}/emails/templates/RegistrationEmailParams.php (93%) diff --git a/api/models/authentication/ForgotPasswordForm.php b/api/models/authentication/ForgotPasswordForm.php index 407d5fc..1c0b0d3 100644 --- a/api/models/authentication/ForgotPasswordForm.php +++ b/api/models/authentication/ForgotPasswordForm.php @@ -1,7 +1,7 @@ '@app/mails/current-email-confirmation-html', - 'text' => '@app/mails/current-email-confirmation-text', + 'html' => '@api/mails/current-email-confirmation-html', + 'text' => '@api/mails/current-email-confirmation-text', ]; } diff --git a/api/emails/templates/ChangeEmailConfirmNewEmail.php b/common/emails/templates/ChangeEmailConfirmNewEmail.php similarity index 77% rename from api/emails/templates/ChangeEmailConfirmNewEmail.php rename to common/emails/templates/ChangeEmailConfirmNewEmail.php index 02ee338..10fec5f 100644 --- a/api/emails/templates/ChangeEmailConfirmNewEmail.php +++ b/common/emails/templates/ChangeEmailConfirmNewEmail.php @@ -1,7 +1,7 @@ '@app/mails/new-email-confirmation-html', - 'text' => '@app/mails/new-email-confirmation-text', + 'html' => '@api/mails/new-email-confirmation-html', + 'text' => '@api/mails/new-email-confirmation-text', ]; } diff --git a/api/emails/templates/ForgotPasswordEmail.php b/common/emails/templates/ForgotPasswordEmail.php similarity index 90% rename from api/emails/templates/ForgotPasswordEmail.php rename to common/emails/templates/ForgotPasswordEmail.php index 1af0505..b4a03c3 100644 --- a/api/emails/templates/ForgotPasswordEmail.php +++ b/common/emails/templates/ForgotPasswordEmail.php @@ -1,7 +1,7 @@