mirror of
https://github.com/netzbegruenung/groupfolders.git
synced 2024-05-06 03:13:39 +02:00
5607dff253
Signed-off-by: Julius Härtl <jus@bitgrid.net>
20 lines
470 B
PHP
20 lines
470 B
PHP
<?php
|
|
|
|
use OCA\GroupFolders\AppInfo\Application;
|
|
|
|
$app = \OC::$server->query(Application::class);
|
|
$app->register();
|
|
|
|
$eventDispatcher = \OC::$server->getEventDispatcher();
|
|
$eventDispatcher->addListener(
|
|
'OCA\Files::loadAdditionalScripts',
|
|
function () {
|
|
\OCP\Util::addScript('groupfolders', '../build/files');
|
|
}
|
|
);
|
|
|
|
$eventDispatcher->addListener('OCA\Files_Sharing::loadAdditionalScripts', function () {
|
|
\OCP\Util::addScript('groupfolders', '../build/files');
|
|
|
|
});
|