[Pkg-owncloud-commits] [owncloud] 07/16: Close session for avatar get
David Prévot
taffit at moszumanska.debian.org
Thu Oct 30 19:55:59 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 84e942f1211ae4986cb03c7e8baf2fa175d21e3e
Author: Lukas Reschke <lukas at owncloud.com>
Date: Wed Oct 22 18:12:21 2014 +0200
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 03eb9da..ca055f5 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'];
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list