summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-22 18:12:21 +0200
committerLukas Reschke <lukas@owncloud.com>2014-10-22 18:12:21 +0200
commit3b42d3cfeddf522c89534544b4f9a9f162b2ff61 (patch)
treea39ca674488819c7aa60e2787e0bcdff126b4d2f /core
parent31e489b44d22bbb7b255a95485a2417760a96c5c (diff)
downloadnextcloud-server-3b42d3cfeddf522c89534544b4f9a9f162b2ff61.tar.gz
nextcloud-server-3b42d3cfeddf522c89534544b4f9a9f162b2ff61.zip
Close session for avatar get
This somehow blocked the "Users" UI for me when having a lot of users. - Shouldn't hurt here.
Diffstat (limited to 'core')
-rw-r--r--core/avatar/controller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/avatar/controller.php b/core/avatar/controller.php
index 03eb9da1dc5..ca055f5fd75 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'];