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:
parent
31e489b44d
commit
3b42d3cfed
|
@ -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…
Reference in New Issue