summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-19 21:00:04 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-19 21:00:04 +0200
commitfad76bd1b852d38334287d37562cb570d04d7432 (patch)
tree5db37dd29dc3a69b8e8159506d0952df655a2867 /apps
parentd877c1f1e12d1ac03b99e172f15804b503400139 (diff)
parent58e5878b4d257a9cadeabc22def36e889bfb8451 (diff)
downloadnextcloud-server-fad76bd1b852d38334287d37562cb570d04d7432.tar.gz
nextcloud-server-fad76bd1b852d38334287d37562cb570d04d7432.zip
Merge pull request #15724 from owncloud/ldap-remove-deprecated-const-usage
LDAP - move from constants to class member constants
Diffstat (limited to 'apps')
-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 cd8a2dd251c..cc5d5f5226f 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -355,11 +355,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);
}