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

View file

@ -104,10 +104,16 @@ class OC_User {
break; break;
} }
} }
true; true;
} }
/**
* remove all used backends
*/
public static function clearBackends(){
self::$_usedBackends=array();
}
/** /**
* @brief Create a new user * @brief Create a new user
* @param $uid The username of the user to create * @param $uid The username of the user to create