diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-03-08 16:12:17 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-06-20 17:38:59 +0200 |
commit | 07436d089bff1bafae632e57b2847c7e99c550bd (patch) | |
tree | 2a214879b8e4ddc27fba25b9baee8859f71671c8 /lib | |
parent | 280c288bc0936dd6c512c8b47f378303c6e15bcd (diff) | |
download | nextcloud-server-07436d089bff1bafae632e57b2847c7e99c550bd.tar.gz nextcloud-server-07436d089bff1bafae632e57b2847c7e99c550bd.zip |
Do not recurse link share fetching
* Might fix an issue on oracle
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/share20/manager.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/share20/manager.php b/lib/private/share20/manager.php index 06d4029bec9..35a019b2334 100644 --- a/lib/private/share20/manager.php +++ b/lib/private/share20/manager.php @@ -907,6 +907,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 |