| @@ 75-92 (lines=18) @@ | ||
| 72 | * @param IL10N $l10n |
|
| 73 | * @param CurrentUser $currentUser |
|
| 74 | */ |
|
| 75 | public function __construct($appName, |
|
| 76 | IRequest $request, |
|
| 77 | IConfig $config, |
|
| 78 | ISecureRandom $random, |
|
| 79 | IURLGenerator $urlGenerator, |
|
| 80 | IManager $manager, |
|
| 81 | UserSettings $userSettings, |
|
| 82 | IL10N $l10n, |
|
| 83 | CurrentUser $currentUser) { |
|
| 84 | parent::__construct($appName, $request); |
|
| 85 | $this->config = $config; |
|
| 86 | $this->random = $random; |
|
| 87 | $this->urlGenerator = $urlGenerator; |
|
| 88 | $this->manager = $manager; |
|
| 89 | $this->userSettings = $userSettings; |
|
| 90 | $this->l10n = $l10n; |
|
| 91 | $this->user = (string) $currentUser->getUID(); |
|
| 92 | } |
|
| 93 | ||
| 94 | /** |
|
| 95 | * @NoAdminRequired |
|
| @@ 71-85 (lines=15) @@ | ||
| 68 | * @param IL10N $l |
|
| 69 | * @param CurrentUser $currentUser |
|
| 70 | */ |
|
| 71 | public function __construct(IManager $activityManager, |
|
| 72 | IUserManager $userManager, |
|
| 73 | IURLGenerator $urlGenerator, |
|
| 74 | IContactsManager $contactsManager, |
|
| 75 | ViewInfoCache $infoCache, |
|
| 76 | IL10N $l, |
|
| 77 | CurrentUser $currentUser) { |
|
| 78 | $this->activityManager = $activityManager; |
|
| 79 | $this->userManager = $userManager; |
|
| 80 | $this->urlGenerator = $urlGenerator; |
|
| 81 | $this->contactsManager = $contactsManager; |
|
| 82 | $this->infoCache = $infoCache; |
|
| 83 | $this->l = $l; |
|
| 84 | $this->user = (string) $currentUser->getUID(); |
|
| 85 | } |
|
| 86 | ||
| 87 | /** |
|
| 88 | * @param string $user |
|