mirror of
https://github.com/verdigado/organization_folders.git
synced 2024-11-24 21:50:26 +01:00
27 lines
No EOL
718 B
PHP
27 lines
No EOL
718 B
PHP
<?php
|
|
|
|
namespace OCA\OrganizationFolders\AppInfo;
|
|
|
|
use OCP\AppFramework\App;
|
|
use OCP\AppFramework\Bootstrap\IBootstrap;
|
|
use OCP\AppFramework\Bootstrap\IRegistrationContext;
|
|
use OCP\AppFramework\Bootstrap\IBootContext;
|
|
|
|
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 {
|
|
}
|
|
} |