Skip to content
Snippets Groups Projects
Commit 672811c1 authored by Björn Schießle's avatar Björn Schießle
Browse files

if one public link share was found, we don't have to check it for the other folders

parent b44192f3
No related merge requests found
...@@ -185,6 +185,7 @@ class Share { ...@@ -185,6 +185,7 @@ class Share {
} }
//check for public link shares //check for public link shares
if (!$publicShare) {
$query = \OC_DB::prepare( $query = \OC_DB::prepare(
'SELECT share_with 'SELECT share_with
FROM FROM
...@@ -202,6 +203,7 @@ class Share { ...@@ -202,6 +203,7 @@ class Share {
if ($result->fetchRow()) { if ($result->fetchRow()) {
$publicShare = true; $publicShare = true;
} }
}
// let's get the parent for the next round // let's get the parent for the next round
$meta = $cache->get((int)$source); $meta = $cache->get((int)$source);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment