Merge pull request #11352 from owncloud/close-session-for-previews
Close the session for preview generation
This commit is contained in:
commit
35465f5375
1 changed files with 1 additions and 0 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue