summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Notification/Notifier.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Notification/Notifier.php')
-rw-r--r--apps/files_sharing/lib/Notification/Notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Notification/Notifier.php b/apps/files_sharing/lib/Notification/Notifier.php
index a47b04e5b14..07c41882917 100644
--- a/apps/files_sharing/lib/Notification/Notifier.php
+++ b/apps/files_sharing/lib/Notification/Notifier.php
@@ -154,7 +154,7 @@ class Notifier implements INotifier {
if ($share->getStatus() !== IShare::STATUS_PENDING) {
throw new AlreadyProcessedException();
}
- } else if ($share->getShareType() === IShare::TYPE_GROUP) {
+ } elseif ($share->getShareType() === IShare::TYPE_GROUP) {
if ($share->getStatus() !== IShare::STATUS_PENDING) {
throw new AlreadyProcessedException();
}