add option to clear user backends

This commit is contained in:
Robin Appelman 2012-07-23 22:31:48 +02:00
parent ab7a2d43e8
commit e49666d36b
1 changed files with 7 additions and 1 deletions

View File

@ -104,10 +104,16 @@ 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