Close session for avatar get

This somehow blocked the "Users" UI for me when having a lot of users. - Shouldn't hurt here.
This commit is contained in:
Lukas Reschke 2014-10-22 18:12:21 +02:00
parent 31e489b44d
commit 3b42d3cfed
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ class Controller {
public static function getAvatar($args) {
\OC_JSON::checkLoggedIn();
\OC_JSON::callCheck();
\OC::$server->getSession()->close();
$user = stripslashes($args['user']);
$size = (int)$args['size'];