summaryrefslogtreecommitdiffstats
path: root/cron.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 /cron.php
parent73a1ece7533b9d90305e11052947809b91850184 (diff)
downloadnextcloud-server-58c216d0e8ea4bb6d72ac3382b67a7f4b02f3ed1.tar.gz
nextcloud-server-58c216d0e8ea4bb6d72ac3382b67a7f4b02f3ed1.zip
close the session on all file operations
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron.php b/cron.php
index 44ca421328b..a0447f97f19 100644
--- a/cron.php
+++ b/cron.php
@@ -48,7 +48,7 @@ try {
require_once 'lib/base.php';
- session_write_close();
+ \OC::$session->close();
$logger = \OC_Log::$object;