Merge pull request #5160 from nextcloud/comradekingu-patch-1
no "mail" or mid sentence "E-mail"
This commit is contained in:
commit
a0f16c69ac
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue