diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-05-08 09:07:11 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-05-10 09:14:26 +0200 |
commit | ac2e0cd6e450607585fbac2ec00a952744a4a36b (patch) | |
tree | 443abc4e841ea5a0355b67ed542f838ddde40612 /lib/user/example.php | |
parent | a9d7c67bf2e906fceea40b41f4780e623226fdff (diff) | |
download | nextcloud-server-ac2e0cd6e450607585fbac2ec00a952744a4a36b.tar.gz nextcloud-server-ac2e0cd6e450607585fbac2ec00a952744a4a36b.zip |
Implement default functions in OC_User backend
Simplifies calling these functions, and makes code simpler
functions:
deleteUser
getUsers
userExists
Diffstat (limited to 'lib/user/example.php')
-rw-r--r-- | lib/user/example.php | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/user/example.php b/lib/user/example.php index 7481014de77..270b72e389b 100644 --- a/lib/user/example.php +++ b/lib/user/example.php @@ -40,17 +40,6 @@ abstract class OC_User_Example extends OC_User_Backend { } /** - * @brief delete a user - * @param $uid The username of the user to delete - * @returns true/false - * - * Deletes a user - */ - public function deleteUser( $uid ){ - return OC_USER_BACKEND_NOT_IMPLEMENTED; - } - - /** * @brief Set password * @param $uid The username * @param $password The new password @@ -73,23 +62,4 @@ abstract class OC_User_Example extends OC_User_Backend { public function checkPassword($uid, $password){ return OC_USER_BACKEND_NOT_IMPLEMENTED; } - - /** - * @brief Get a list of all users - * @returns array with all uids - * - * Get a list of all users. - */ - public function getUsers(){ - return OC_USER_BACKEND_NOT_IMPLEMENTED; - } - - /** - * @brief check if a user exists - * @param string $uid the username - * @return boolean - */ - public function userExists($uid){ - return OC_USER_BACKEND_NOT_IMPLEMENTED; - } } |