@@ 53-58 (lines=6) @@ | ||
50 | * @param IManager $manager |
|
51 | * @param UserSettings $userSettings |
|
52 | */ |
|
53 | public function __construct(IConfig $config, IL10N $l10n, UserSettings $userSettings, IManager $manager) { |
|
54 | $this->config = $config; |
|
55 | $this->l10n = $l10n; |
|
56 | $this->manager = $manager; |
|
57 | $this->userSettings = $userSettings; |
|
58 | } |
|
59 | ||
60 | /** |
|
61 | * @return TemplateResponse |
@@ 61-71 (lines=11) @@ | ||
58 | * @param IL10N $l10n |
|
59 | * @param CurrentUser $currentUser |
|
60 | */ |
|
61 | public function __construct(IConfig $config, |
|
62 | IManager $manager, |
|
63 | UserSettings $userSettings, |
|
64 | IL10N $l10n, |
|
65 | CurrentUser $currentUser) { |
|
66 | $this->config = $config; |
|
67 | $this->manager = $manager; |
|
68 | $this->userSettings = $userSettings; |
|
69 | $this->l10n = $l10n; |
|
70 | $this->user = (string) $currentUser->getUID(); |
|
71 | } |
|
72 | ||
73 | /** |
|
74 | * @return TemplateResponse |