Skip to content
Snippets Groups Projects
Commit 35465f53 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Merge pull request #11352 from owncloud/close-session-for-previews

Close the session for preview generation
parents b13b8650 ba247257
Branches
No related tags found
No related merge requests found
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment