diff options
Diffstat (limited to 'lib/private/Share20/DefaultShareProvider.php')
-rw-r--r-- | lib/private/Share20/DefaultShareProvider.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Share20/DefaultShareProvider.php b/lib/private/Share20/DefaultShareProvider.php index 37e8556e1b9..e7f077f4022 100644 --- a/lib/private/Share20/DefaultShareProvider.php +++ b/lib/private/Share20/DefaultShareProvider.php @@ -1187,6 +1187,9 @@ class DefaultShareProvider implements IShareProvider { $qb->expr()->eq('uid_initiator', $qb->createNamedParameter($uid)) ) ); + } else { + \OC::$server->getLogger()->logException(new \InvalidArgumentException('Default share provider tried to delete all shares for type: ' . $shareType)); + return; } $qb->execute(); |