Query application form server
Signed-off-by: Arne Hamann <kontakt+github@arne.email>
This commit is contained in:
Родитель
f19e15b6af
Коммит
e6b3b36c44
|
@ -17,7 +17,7 @@ use OCP\Util;
|
||||||
use Symfony\Component\EventDispatcher\GenericEvent;
|
use Symfony\Component\EventDispatcher\GenericEvent;
|
||||||
use OCA\Maps\Hooks\FileHooks;
|
use OCA\Maps\Hooks\FileHooks;
|
||||||
|
|
||||||
$app = new Application();
|
$app = \OC::$server->query(Application::class);
|
||||||
$container = $app->getContainer();
|
$container = $app->getContainer();
|
||||||
|
|
||||||
$eventDispatcher = \OC::$server->getEventDispatcher();
|
$eventDispatcher = \OC::$server->getEventDispatcher();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче