diff options
-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'; |