summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/getstoragestats.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-10 14:39:27 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-10 14:39:27 +0100
commit58c216d0e8ea4bb6d72ac3382b67a7f4b02f3ed1 (patch)
tree124f368973b6d1e1cb44147d491e91547fd6b83a /apps/files/ajax/getstoragestats.php
parent73a1ece7533b9d90305e11052947809b91850184 (diff)
downloadnextcloud-server-58c216d0e8ea4bb6d72ac3382b67a7f4b02f3ed1.tar.gz
nextcloud-server-58c216d0e8ea4bb6d72ac3382b67a7f4b02f3ed1.zip
close the session on all file operations
Diffstat (limited to 'apps/files/ajax/getstoragestats.php')
-rw-r--r--apps/files/ajax/getstoragestats.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/ajax/getstoragestats.php b/apps/files/ajax/getstoragestats.php
index dd7c7dc5571..17415b6933f 100644
--- a/apps/files/ajax/getstoragestats.php
+++ b/apps/files/ajax/getstoragestats.php
@@ -10,6 +10,7 @@ if (isset($_GET['dir'])) {
}
OCP\JSON::checkLoggedIn();
+\OC::$session->close();
// send back json
OCP\JSON::success(array('data' => \OCA\Files\Helper::buildFileStorageStatistics($dir)));