diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-11-22 13:24:38 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-11-22 13:25:20 +0100 |
commit | 6fdce3b7e92a5c93134719cd2d4934a73f943e02 (patch) | |
tree | b5dc7ddbf870e90202379a3d75d75bd817bfaab2 /apps/user_ldap | |
parent | 8ccac86c9893fe0af1715288ce29d85091bca9aa (diff) | |
download | nextcloud-server-6fdce3b7e92a5c93134719cd2d4934a73f943e02.tar.gz nextcloud-server-6fdce3b7e92a5c93134719cd2d4934a73f943e02.zip |
LDAP: user proxy must support canChangeAvatar too
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/user_proxy.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/user_ldap/user_proxy.php b/apps/user_ldap/user_proxy.php index 092fdbf7c78..3c2821e87b7 100644 --- a/apps/user_ldap/user_proxy.php +++ b/apps/user_ldap/user_proxy.php @@ -164,6 +164,15 @@ class User_Proxy extends lib\Proxy implements \OCP\UserInterface { } /** + * @brief checks whether the user is allowed to change his avatar in ownCloud + * @param $uid string the ownCloud user name + * @return boolean either the user can or cannot + */ + public function canChangeAvatar($uid) { + return $this->handleRequest($uid, 'canChangeAvatar', array($uid)); + } + + /** * @brief Get a list of all display names * @returns array with all displayNames (value) and the corresponding uids (key) * |