@@ 186-190 (lines=5) @@ | ||
183 | * Controller |
|
184 | */ |
|
185 | $container->registerService('StatusController', |
|
186 | function (IAppContainer $c) { |
|
187 | /** @var \OC\Server $server */ |
|
188 | $server = $c->query('ServerContainer'); |
|
189 | return new StatusController($c->getAppName(), $server->getRequest(), $c->query('StatusService')); |
|
190 | }); |
|
191 | /** |
|
192 | * Controller |
|
193 | */ |
|
@@ 195-199 (lines=5) @@ | ||
192 | * Controller |
|
193 | */ |
|
194 | $container->registerService('JobController', |
|
195 | function (IAppContainer $c) { |
|
196 | /** @var \OC\Server $server */ |
|
197 | $server = $c->query('ServerContainer'); |
|
198 | return new JobController($c->getAppName(), $server->getRequest(), $c->query('JobService'), |
|
199 | $c->query('CurrentUID')); |
|
200 | }); |
|
201 | /** |
|
202 | * Controller |