summaryrefslogtreecommitdiffstats
path: root/lib/User
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-16 19:45:07 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-16 19:45:07 +0200
commit7b00f99a5792cfc6bcc11d51c545a365f820cba6 (patch)
tree95adbb0fd3f580b89ce7abe9d881bb8e1711e459 /lib/User
parentc5f9c5b8a3bf6b1e28644af6f8ae408dbdb16594 (diff)
downloadnextcloud-server-7b00f99a5792cfc6bcc11d51c545a365f820cba6.tar.gz
nextcloud-server-7b00f99a5792cfc6bcc11d51c545a365f820cba6.zip
static functions shouldn't be abstract
Diffstat (limited to 'lib/User')
-rw-r--r--lib/User/backend.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/User/backend.php b/lib/User/backend.php
index ab053661f88..0483d72bf02 100644
--- a/lib/User/backend.php
+++ b/lib/User/backend.php
@@ -35,7 +35,7 @@ abstract class OC_USER_BACKEND {
* @param string $username The username of the user to create
* @param string $password The password of the new user
*/
- abstract public static function createUser($username, $password);
+ public static function createUser($username, $password){}
/**
* Try to login a user
@@ -43,18 +43,18 @@ abstract class OC_USER_BACKEND {
* @param string $username The username of the user to log in
* @param string $password The password of the user
*/
- abstract public static function login($username, $password);
+ public static function login($username, $password){}
/**
* Check if some user is logged in
*
*/
- abstract public static function isLoggedIn();
+ public static function isLoggedIn(){}
/**
* Generate a random password
*/
- abstract public static function generatePassword();
+ public static function generatePassword(){}
/**
* Set the password of a user
@@ -62,7 +62,7 @@ abstract class OC_USER_BACKEND {
* @param string $username User who password will be changed
* @param string $password The new password for the user
*/
- abstract public static function setPassword($username, $password);
+ public static function setPassword($username, $password){}
/**
* Check if the password of the user is correct
@@ -70,12 +70,12 @@ abstract class OC_USER_BACKEND {
* @param string $username Name of the user
* @param string $password Password of the user
*/
- abstract public static function checkPassword($username, $password);
+ public static function checkPassword($username, $password){}
/**
* get a list of all users
*
*/
- abstract public static function getUsers();
+ public static function getUsers(){}
}