diff options
author | Joas Schilling <coding@schilljs.com> | 2019-09-27 16:31:28 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-10-01 10:25:19 +0300 |
commit | 7314559199fe3aa51ee585317c49ae055b9da929 (patch) | |
tree | 2a466d11b770bbe70d579a1f9146cae71dcf9a40 /lib/Notification | |
parent | c975f6af6ab6956aee852dbaaaa3a28c9790249f (diff) |
More IShare::TYPE_* fixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Notification')
-rw-r--r-- | lib/Notification/Notifier.php | 3 |
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}'); |