summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-08-30 12:19:48 +0200
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-08-30 12:19:48 +0200
commit0fae262b0b1be241ca5be350f8d9b09936a60b25 (patch)
tree8420c337a8c71b0cac80d5dde204315307891b7b /apps
parent6870045cf49afc6b653e293eae5fe1ad8c0c4f88 (diff)
downloadnextcloud-server-0fae262b0b1be241ca5be350f8d9b09936a60b25.tar.gz
nextcloud-server-0fae262b0b1be241ca5be350f8d9b09936a60b25.zip
Added closeCursor in SharedMount numeric id (#25979)
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/SharedMount.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php
index c2942d90bdd..bab1530764e 100644
--- a/apps/files_sharing/lib/SharedMount.php
+++ b/apps/files_sharing/lib/SharedMount.php
@@ -242,6 +242,7 @@ class SharedMount extends MountPoint implements MoveableMount {
$result = $query->execute();
$row = $result->fetch();
+ $result->closeCursor();
if ($row) {
return $row['storage'];
}