Close session for avatar get

This somehow blocked the "Users" UI for me when having a lot of users. - Shouldn't hurt here.
remotes/origin/fix-10825
Lukas Reschke 11 years ago
parent 31e489b44d
commit 3b42d3cfed
  1. 1
      core/avatar/controller.php

@ -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'];

Loading…
Cancel
Save