@@ 54-71 (lines=18) @@ | ||
51 | * @param string $userId |
|
52 | * @param CapabilitiesService $capabilitiesService |
|
53 | */ |
|
54 | public function __construct($appName, |
|
55 | IRequest $request, |
|
56 | IL10N $l10n, |
|
57 | AppConfig $appConfig, |
|
58 | IConfig $config, |
|
59 | DiscoveryManager $discoveryManager, |
|
60 | Parser $wopiParser, |
|
61 | $userId, |
|
62 | CapabilitiesService $capabilitiesService) { |
|
63 | parent::__construct($appName, $request); |
|
64 | $this->l10n = $l10n; |
|
65 | $this->appConfig = $appConfig; |
|
66 | $this->config = $config; |
|
67 | $this->discoveryManager = $discoveryManager; |
|
68 | $this->wopiParser = $wopiParser; |
|
69 | $this->userId = $userId; |
|
70 | $this->capabilitiesService = $capabilitiesService; |
|
71 | } |
|
72 | ||
73 | /** |
|
74 | * @PublicPage |
@@ 65-85 (lines=21) @@ | ||
62 | /** @var FederationService */ |
|
63 | private $federationService; |
|
64 | ||
65 | public function __construct( |
|
66 | $appName, |
|
67 | IRequest $request, |
|
68 | IRootFolder $rootFolder, |
|
69 | TokenManager $tokenManager, |
|
70 | DirectMapper $directMapper, |
|
71 | IConfig $config, |
|
72 | AppConfig $appConfig, |
|
73 | TemplateManager $templateManager, |
|
74 | FederationService $federationService |
|
75 | ) { |
|
76 | parent::__construct($appName, $request); |
|
77 | ||
78 | $this->rootFolder = $rootFolder; |
|
79 | $this->tokenManager = $tokenManager; |
|
80 | $this->directMapper = $directMapper; |
|
81 | $this->config = $config; |
|
82 | $this->appConfig = $appConfig; |
|
83 | $this->templateManager = $templateManager; |
|
84 | $this->federationService = $federationService; |
|
85 | } |
|
86 | ||
87 | /** |
|
88 | * @NoAdminRequired |