diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-07-23 22:31:48 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-07-23 22:31:48 +0200 |
commit | e49666d36bdd10c02144878e83a6cdefd4342256 (patch) | |
tree | 5345555a582316f1c018af4408f74b80683bd574 /lib | |
parent | ab7a2d43e810da66087f3abf4a87afff219a33c0 (diff) | |
download | nextcloud-server-e49666d36bdd10c02144878e83a6cdefd4342256.tar.gz nextcloud-server-e49666d36bdd10c02144878e83a6cdefd4342256.zip |
add option to clear user backends
Diffstat (limited to 'lib')
-rw-r--r-- | lib/user.php | 8 |
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 |