Merge pull request #34248 from nextcloud/bugfix/noid/ignore-invalid-share-types

Ignore invalid share types
pull/34223/head
Vincent Petry 2 years ago committed by GitHub
commit 980ba65734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -157,6 +157,8 @@ class Notifier implements INotifier {
if ($share->getStatus() !== IShare::STATUS_PENDING) {
throw new AlreadyProcessedException();
}
} else {
throw new \InvalidArgumentException('Invalid share type');
}
switch ($notification->getSubject()) {

Loading…
Cancel
Save