summaryrefslogtreecommitdiffstats
path: root/lib/public/share.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/share.php')
-rw-r--r--lib/public/share.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/public/share.php b/lib/public/share.php
index 75dea92eea6..3053da47e86 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -538,7 +538,6 @@ class Share {
foreach ($items as $item) {
if ($item['share_type'] == self::SHARE_TYPE_PRIVATE_LINK) {
$statuses[$item['item']] = true;
- break;
} else if (!isset($statuses[$item['item']])) {
$statuses[$item['item']] = false;
}