$this->mode->setExecutor(Mode::INDEX);
$this->runFrontend(
- $this->container->create(\Friendica\App\Router::class),
- $this->container->create(\Friendica\Core\PConfig\Capability\IManagePersonalConfigValues::class),
- $this->container->create(\Friendica\Security\Authentication::class),
- $this->container->create(\Friendica\App\Page::class),
- $this->container->create(\Friendica\Content\Nav::class),
- $this->container->create(\Friendica\Module\Special\HTTPException::class),
- new \Friendica\Util\HTTPInputData($request->getServerParams()),
+ $this->container->create(Router::class),
+ $this->container->create(IManagePersonalConfigValues::class),
+ $this->container->create(Page::class),
+ $this->container->create(Nav::class),
+ $this->container->create(ModuleHTTPException::class),
+ new HTTPInputData($request->getServerParams()),
$start_time,
$request->getServerParams()
);
*
* @param Router $router
* @param IManagePersonalConfigValues $pconfig
- * @param Authentication $auth The Authentication backend of the node
* @param Page $page The Friendica page printing container
* @param ModuleHTTPException $httpException The possible HTTP Exception container
* @param HTTPInputData $httpInput A library for processing PHP input streams
private function runFrontend(
Router $router,
IManagePersonalConfigValues $pconfig,
- Authentication $auth,
Page $page,
Nav $nav,
ModuleHTTPException $httpException,
}
if (!$this->mode->isBackend()) {
- $auth->withSession();
+ $this->auth->withSession();
}
if ($this->session->isUnauthenticated()) {