diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-09-29 22:03:33 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-09-29 22:03:33 +0200 |
commit | 35465f5375a273eccec0e64d34978ce9209885bf (patch) | |
tree | 059aea4d78cb4a4e53ea43f0405d6a7cac7bbc27 | |
parent | b13b86502f818a79e1a794eb27f361b238d8d907 (diff) | |
parent | ba2472575f6aa44bb04af8421f2bb868f980a1c7 (diff) | |
download | nextcloud-server-35465f5375a273eccec0e64d34978ce9209885bf.tar.gz nextcloud-server-35465f5375a273eccec0e64d34978ce9209885bf.zip |
Merge pull request #11352 from owncloud/close-session-for-previews
Close the session for preview generation
-rw-r--r-- | core/ajax/preview.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ajax/preview.php b/core/ajax/preview.php index d2811f39dd6..56ef5ea847b 100644 --- a/core/ajax/preview.php +++ b/core/ajax/preview.php @@ -6,6 +6,7 @@ * See the COPYING-README file. */ \OC_Util::checkLoggedIn(); +\OC::$server->getSession()->close(); $file = array_key_exists('file', $_GET) ? (string)$_GET['file'] : ''; $maxX = array_key_exists('x', $_GET) ? (int)$_GET['x'] : '36'; |