fix usage of legacy class in LDAP

This commit is contained in:
Morris Jobke 2016-05-09 10:44:33 +02:00 committed by Roeland Jago Douma
parent f6ee738ba8
commit e2748e4cbf
No known key found for this signature in database
GPG key ID: 1E152838F164D13B

View file

@ -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);
}