summaryrefslogtreecommitdiffstats
path: root/lib/user.php
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-04-17 01:04:23 +0200
committerJakob Sack <kde@jakobsack.de>2011-04-17 01:04:23 +0200
commitc4287162c4fb16e5b85a103aabbbbe7a7eebe4c7 (patch)
tree40ce06b0efc339956b7f5c117e87827cd094ce10 /lib/user.php
parentb129079bed8ebd1b5051dabe15eccdc17bf4b403 (diff)
downloadnextcloud-server-c4287162c4fb16e5b85a103aabbbbe7a7eebe4c7.tar.gz
nextcloud-server-c4287162c4fb16e5b85a103aabbbbe7a7eebe4c7.zip
Some work on the fancy user management
Diffstat (limited to 'lib/user.php')
-rw-r--r--lib/user.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/user.php b/lib/user.php
index d70443b7e61..6cfcc6be488 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -96,6 +96,14 @@ class OC_USER {
}
/**
+ * @brief Delete a new user
+ * @param $username The username of the user to delete
+ */
+ public static function deleteUser( $username ){
+ return self::$_backend->deleteUser( $username );
+ }
+
+ /**
* @brief try to login a user
* @param $username The username of the user to log in
* @param $password The password of the user