Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-09-27 16:31:28 +0300
committerJoas Schilling <coding@schilljs.com>2019-10-01 10:25:19 +0300
commit7314559199fe3aa51ee585317c49ae055b9da929 (patch)
tree2a466d11b770bbe70d579a1f9146cae71dcf9a40 /lib/Notification
parentc975f6af6ab6956aee852dbaaaa3a28c9790249f (diff)
More IShare::TYPE_* fixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Notification')
-rw-r--r--lib/Notification/Notifier.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php
index 1083e05e4..f34037610 100644
--- a/lib/Notification/Notifier.php
+++ b/lib/Notification/Notifier.php
@@ -47,6 +47,7 @@ use OCP\RichObjectStrings\Definitions;
use OCP\Share;
use OCP\Share\Exceptions\ShareNotFound;
use OCP\Share\IManager as IShareManager;
+use OCP\Share\IShare;
class Notifier implements INotifier {
@@ -544,7 +545,7 @@ class Notifier implements INotifier {
$notification = $this->addActionButton($notification, $l->t('Call back'));
}
- if ($share->getShareType() === Share::SHARE_TYPE_EMAIL) {
+ if ($share->getShareType() === IShare::TYPE_EMAIL) {
$sharedWith = $share->getSharedWith();
if ($callIsActive) {
$subject = $l->t('{email} is requesting the password to access {file}');