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, 7 insertions, 1 deletions
diff --git a/lib/user.php b/lib/user.php
index 356be4decf9..549319b3a77 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -104,11 +104,17 @@ class OC_User {
break;
}
}
-
true;
}
/**
+ * remove all used backends
+ */
+ public static function clearBackends(){
+ self::$_usedBackends=array();
+ }
+
+ /**
* @brief Create a new user
* @param $uid The username of the user to create
* @param $password The password of the new user