no "mail" or mid sentence "E-mail"

This commit is contained in:
comradekingu 2017-05-29 18:16:09 +02:00 committed by GitHub
parent 4be17dff0f
commit 864b21dd46
1 changed files with 2 additions and 2 deletions

View File

@ -353,10 +353,10 @@ class ShareByMailProvider implements IShareProvider {
$this->removeShareFromTable($shareId);
throw $hintException;
} catch (\Exception $e) {
$this->logger->error('Failed to send share by mail: ' . $e->getMessage());
$this->logger->error('Failed to send share by email: ' . $e->getMessage());
$this->removeShareFromTable($shareId);
throw new HintException('Failed to send share by mail',
$this->l->t('Failed to send share by E-mail'));
$this->l->t('Failed to send share by email'));
}
return $shareId;