0
0
Fork 0
mirror of https://github.com/verdigado/organization_folders.git synced 2024-12-06 11:22:41 +01:00

Added dav plugin to be able to query organizationId and resourceId of filesystem node from frontend

This commit is contained in:
Jonathan Treffler 2024-11-05 17:40:32 +01:00
parent dc10742476
commit f7b3b2f255
5 changed files with 116 additions and 2 deletions

View file

@ -3,11 +3,25 @@
namespace OCA\OrganizationFolders\AppInfo;
use OCP\AppFramework\App;
use OCP\AppFramework\Bootstrap\IBootstrap;
use OCP\AppFramework\Bootstrap\IRegistrationContext;
use OCP\AppFramework\Bootstrap\IBootContext;
class Application extends App {
use OCA\DAV\Events\SabrePluginAddEvent;
use OCA\OrganizationFolders\Listener\SabrePluginAddListener;
class Application extends App implements IBootstrap {
public const APP_ID = 'organization_folders';
public function __construct() {
parent::__construct(self::APP_ID);
}
public function register(IRegistrationContext $context): void {
$context->registerEventListener(SabrePluginAddEvent::class, SabrePluginAddListener::class);
}
public function boot(IBootContext $context): void {
}
}