Merge pull request #25160 from owncloud/fix-oracle-endless-loop-stable9
Do not recurse link share fetching
This commit is contained in:
commit
a3111e8589
|
@ -906,6 +906,11 @@ class Manager implements IManager {
|
|||
break;
|
||||
}
|
||||
|
||||
// If there was no limit on the select we are done
|
||||
if ($limit === -1) {
|
||||
break;
|
||||
}
|
||||
|
||||
$offset += $added;
|
||||
|
||||
// Fetch again $limit shares
|
||||
|
|
Loading…
Reference in New Issue