summaryrefslogtreecommitdiffstats
path: root/lib/user.php
diff options
context:
space:
mode:
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