From 3b42d3cfeddf522c89534544b4f9a9f162b2ff61 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 22 Oct 2014 18:12:21 +0200 Subject: [PATCH] Close session for avatar get This somehow blocked the "Users" UI for me when having a lot of users. - Shouldn't hurt here. --- core/avatar/controller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/avatar/controller.php b/core/avatar/controller.php index 03eb9da1dc..ca055f5fd7 100644 --- a/core/avatar/controller.php +++ b/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'];