mirror of
https://github.com/friendica/friendica
synced 2025-01-03 20:02:19 +00:00
require AppHelper in App
This commit is contained in:
parent
241031f1fa
commit
af51441d88
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ class App
|
||||||
IHandleUserSessions $session,
|
IHandleUserSessions $session,
|
||||||
DbaDefinition $dbaDefinition,
|
DbaDefinition $dbaDefinition,
|
||||||
ViewDefinition $viewDefinition,
|
ViewDefinition $viewDefinition,
|
||||||
AppHelper $appHelper = null,
|
AppHelper $appHelper,
|
||||||
) {
|
) {
|
||||||
$this->container = $container;
|
$this->container = $container;
|
||||||
$this->requestId = $request->getRequestId();
|
$this->requestId = $request->getRequestId();
|
||||||
|
@ -155,7 +155,7 @@ class App
|
||||||
$this->l10n = $l10n;
|
$this->l10n = $l10n;
|
||||||
$this->args = $args;
|
$this->args = $args;
|
||||||
$this->session = $session;
|
$this->session = $session;
|
||||||
$this->appHelper = $appHelper ?? DI::appHelper();
|
$this->appHelper = $appHelper;
|
||||||
|
|
||||||
$this->load($dbaDefinition, $viewDefinition);
|
$this->load($dbaDefinition, $viewDefinition);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue