summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/newfolder.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/newfolder.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/newfolder.php')
-rw-r--r--apps/files/ajax/newfolder.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/ajax/newfolder.php b/apps/files/ajax/newfolder.php
index b2b4fb27f74..032447460f3 100644
--- a/apps/files/ajax/newfolder.php
+++ b/apps/files/ajax/newfolder.php
@@ -5,6 +5,7 @@
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
+\OC::$session->close();
// Get the params
$dir = isset( $_POST['dir'] ) ? stripslashes($_POST['dir']) : '';