Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-04 14:36:08 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-04 14:46:25 +0300
commit3ce5d4e5450607b42da73f5c45a6fcd516fd9462 (patch)
tree6a10380f69fd2d107b45c1b99c15305bbff83a42 /apps/user_ldap/lib
parent0e19e55e242af3e665035f5928d293ed9addc4ed (diff)
reduce adressbook change events and handling
... from four to one on avatar updates Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r--apps/user_ldap/lib/User_Proxy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/User_Proxy.php b/apps/user_ldap/lib/User_Proxy.php
index ccc82760b02..a3f9e67764e 100644
--- a/apps/user_ldap/lib/User_Proxy.php
+++ b/apps/user_ldap/lib/User_Proxy.php
@@ -253,7 +253,7 @@ class User_Proxy extends Proxy implements \OCP\IUserBackend, \OCP\UserInterface,
* @return boolean either the user can or cannot
*/
public function canChangeAvatar($uid) {
- return $this->handleRequest($uid, 'canChangeAvatar', array($uid));
+ return $this->handleRequest($uid, 'canChangeAvatar', [$uid], true);
}
/**