Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* @param AppManager $appManager
* @param ISession $session
* @param IConfig $config
- * @param Session $userSession
*/
public function __construct(AppManager $appManager, ISession $session, IConfig $config) {
$this->appManager = $appManager;
* @param IUser $user
* @param bool $includeBackupApp
* @return IProvider[]
+ * @throws Exception
*/
public function getProviders(IUser $user, $includeBackupApp = false) {
$allApps = $this->appManager->getEnabledAppsForUser($user);