summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-05-09 10:44:33 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-05-10 19:53:36 +0200
commite2748e4cbfc72e8d8694b5326125a9cf6e7a0985 (patch)
treebdabc49f51dec11a1fe575a310e1c36888c10842 /apps/user_ldap
parentf6ee738ba82244447d822982aff93494193f93ab (diff)
downloadnextcloud-server-e2748e4cbfc72e8d8694b5326125a9cf6e7a0985.tar.gz
nextcloud-server-e2748e4cbfc72e8d8694b5326125a9cf6e7a0985.zip
fix usage of legacy class in LDAP
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/user_ldap.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index 224cf5c9a35..d6b345faf4b 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -419,11 +419,11 @@ class USER_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn
* compared with OC_USER_BACKEND_CREATE_USER etc.
*/
public function implementsActions($actions) {
- return (bool)((\OC_User_Backend::CHECK_PASSWORD
- | \OC_User_Backend::GET_HOME
- | \OC_User_Backend::GET_DISPLAYNAME
- | \OC_User_Backend::PROVIDE_AVATAR
- | \OC_User_Backend::COUNT_USERS)
+ return (bool)((\OC\User\Backend::CHECK_PASSWORD
+ | \OC\User\Backend::GET_HOME
+ | \OC\User\Backend::GET_DISPLAYNAME
+ | \OC\User\Backend::PROVIDE_AVATAR
+ | \OC\User\Backend::COUNT_USERS)
& $actions);
}