diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-07-20 18:56:18 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-07-20 18:56:18 +0200 |
commit | c9be9ab251681d96cfb620ca26778ba0005023d3 (patch) | |
tree | 9546e40b893abf3970ba7554edcf7829d782314d /lib/user/example.php | |
parent | 7152b8b4ee2f0d4de640868b614992e8aaf00803 (diff) | |
download | nextcloud-server-c9be9ab251681d96cfb620ca26778ba0005023d3.tar.gz nextcloud-server-c9be9ab251681d96cfb620ca26778ba0005023d3.zip |
remove unused variables
Diffstat (limited to 'lib/user/example.php')
-rw-r--r-- | lib/user/example.php | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/user/example.php b/lib/user/example.php index 7f3fd1b8578..77246d8136c 100644 --- a/lib/user/example.php +++ b/lib/user/example.php @@ -35,9 +35,7 @@ abstract class OC_User_Example extends OC_User_Backend { * Creates a new user. Basic checking of username is done in OC_User * itself, not in its subclasses. */ - public function createUser($uid, $password){ - return OC_USER_BACKEND_NOT_IMPLEMENTED; - } + abstract public function createUser($uid, $password); /** * @brief Set password @@ -47,9 +45,7 @@ abstract class OC_User_Example extends OC_User_Backend { * * Change the password of a user */ - public function setPassword($uid, $password){ - return OC_USER_BACKEND_NOT_IMPLEMENTED; - } + abstract public function setPassword($uid, $password); /** * @brief Check if the password is correct @@ -60,7 +56,5 @@ abstract class OC_User_Example extends OC_User_Backend { * Check if the password is correct without logging in the user * returns the user id or false */ - public function checkPassword($uid, $password){ - return OC_USER_BACKEND_NOT_IMPLEMENTED; - } + abstract public function checkPassword($uid, $password); } |