Merge pull request #15724 from owncloud/ldap-remove-deprecated-const-usage
LDAP - move from constants to class member constants
This commit is contained in:
commit
fad76bd1b8
1 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue