summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-08-30 09:52:54 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-08-30 19:49:31 +0200
commit423378ea179574c6c9c272f785e94a4bdfc996bb (patch)
treeda981ff1a4710000f4b66ad1fd2e41e49299bce1 /apps
parent669b0bc2ae6198a8f656f450ffbf351fb208951d (diff)
downloadnextcloud-server-423378ea179574c6c9c272f785e94a4bdfc996bb.tar.gz
nextcloud-server-423378ea179574c6c9c272f785e94a4bdfc996bb.zip
Added closeCursor in SharedMount numeric id
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 c83a28d4c5e..13ecd88bfa9 100644
--- a/apps/files_sharing/lib/SharedMount.php
+++ b/apps/files_sharing/lib/SharedMount.php
@@ -248,6 +248,7 @@ class SharedMount extends MountPoint implements MoveableMount {
$result = $query->execute();
$row = $result->fetch();
+ $result->closeCursor();
if ($row) {
return $row['storage'];
}