if one public link share was found, we don't have to check it for the other folders
This commit is contained in:
parent
b44192f366
commit
672811c103
|
@ -185,6 +185,7 @@ class Share {
|
|||
}
|
||||
|
||||
//check for public link shares
|
||||
if (!$publicShare) {
|
||||
$query = \OC_DB::prepare(
|
||||
'SELECT share_with
|
||||
FROM
|
||||
|
@ -202,6 +203,7 @@ class Share {
|
|||
if ($result->fetchRow()) {
|
||||
$publicShare = true;
|
||||
}
|
||||
}
|
||||
|
||||
// let's get the parent for the next round
|
||||
$meta = $cache->get((int)$source);
|
||||
|
|
Loading…
Reference in New Issue