add option to clear user backends
This commit is contained in:
parent
ab7a2d43e8
commit
e49666d36b
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue