summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_ldap.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-18 15:29:08 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-18 15:29:08 +0200
commit58e5878b4d257a9cadeabc22def36e889bfb8451 (patch)
tree1fb18e8f6c0a1861d4fcc9444429137b45fbea6e /apps/user_ldap/user_ldap.php
parent8cb0d97b1099561d7f9a059f3ba8105a2c719aab (diff)
downloadnextcloud-server-58e5878b4d257a9cadeabc22def36e889bfb8451.tar.gz
nextcloud-server-58e5878b4d257a9cadeabc22def36e889bfb8451.zip
LDAP - move from constants to class member constants
* fixes scrutinizer warnings * drops the usage of deprecated code usage
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-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);
}