@@ -1067,7 +1067,7 @@ class Group_LDAP extends BackendUtility implements \OCP\GroupInterface { | |||
* @return boolean | |||
* | |||
* Returns the supported actions as int to be | |||
* compared with OC_USER_BACKEND_CREATE_USER etc. | |||
* compared with \OC\User\Backend::CREATE_USER etc. | |||
*/ | |||
public function implementsActions($actions) { | |||
return (bool)(\OC\Group\Backend::COUNT_USERS & $actions); |
@@ -190,7 +190,7 @@ class Group_Proxy extends Proxy implements \OCP\GroupInterface { | |||
* @return boolean | |||
* | |||
* Returns the supported actions as int to be | |||
* compared with OC_USER_BACKEND_CREATE_USER etc. | |||
* compared with \OC\User\Backend::CREATE_USER etc. | |||
*/ | |||
public function implementsActions($actions) { | |||
//it's the same across all our user backends obviously |
@@ -486,7 +486,7 @@ class User_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn | |||
* @return boolean | |||
* | |||
* Returns the supported actions as int to be | |||
* compared with OC_USER_BACKEND_CREATE_USER etc. | |||
* compared with \OC\User\Backend::CREATE_USER etc. | |||
*/ | |||
public function implementsActions($actions) { | |||
return (bool)((Backend::CHECK_PASSWORD |
@@ -119,7 +119,7 @@ class User_Proxy extends Proxy implements \OCP\IUserBackend, \OCP\UserInterface, | |||
* @return boolean | |||
* | |||
* Returns the supported actions as int to be | |||
* compared with OC_USER_BACKEND_CREATE_USER etc. | |||
* compared with \OC\User\Backend::CREATE_USER etc. | |||
*/ | |||
public function implementsActions($actions) { | |||
//it's the same across all our user backends obviously |
@@ -46,7 +46,7 @@ interface UserInterface { | |||
* @return boolean | |||
* | |||
* Returns the supported actions as int to be | |||
* compared with \OC_User_Backend::CREATE_USER etc. | |||
* compared with \OC\User\Backend::CREATE_USER etc. | |||
* @since 4.5.0 | |||
*/ | |||
public function implementsActions($actions); |