summaryrefslogtreecommitdiffstats
path: root/settings/Controller
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-04-26 09:33:18 +0200
committerJoas Schilling <coding@schilljs.com>2017-04-26 09:34:59 +0200
commitec323cb687891cc877404f51b2ac19ae8f7bc151 (patch)
tree17e86db8427ac1343a25149c483cd81c88f210f0 /settings/Controller
parent6c28c4ac8be4f296696d820798982d9a28f952c1 (diff)
downloadnextcloud-server-ec323cb687891cc877404f51b2ac19ae8f7bc151.tar.gz
nextcloud-server-ec323cb687891cc877404f51b2ac19ae8f7bc151.zip
Fix email vs mail
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/Controller')
-rw-r--r--settings/Controller/MailSettingsController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/Controller/MailSettingsController.php b/settings/Controller/MailSettingsController.php
index df13b46b13c..de10c077ede 100644
--- a/settings/Controller/MailSettingsController.php
+++ b/settings/Controller/MailSettingsController.php
@@ -160,7 +160,7 @@ class MailSettingsController extends Controller {
$message->setPlainBody($template->renderText());
$errors = $this->mailer->send($message);
if (!empty($errors)) {
- throw new \RuntimeException($this->l10n->t('Mail could not be sent. Check your mail server log'));
+ throw new \RuntimeException($this->l10n->t('Email could not be sent. Check your mail server log'));
}
return new DataResponse();
} catch (\Exception $e) {