[Pkg-owncloud-commits] [owncloud] 63/165: LDAP - move from constants to class member constants
David Prévot
taffit at moszumanska.debian.org
Thu Apr 23 04:06:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 58e5878b4d257a9cadeabc22def36e889bfb8451
Author: Morris Jobke <hey at morrisjobke.de>
Date: Sat Apr 18 15:29:08 2015 +0200
LDAP - move from constants to class member constants
* fixes scrutinizer warnings
* drops the usage of deprecated code usage
---
apps/user_ldap/user_ldap.php | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index cd8a2dd..cc5d5f5 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);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list