2024-08-20 15:03:44 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace OCA\OrganizationFolders\AppInfo;
|
|
|
|
|
|
|
|
use OCP\AppFramework\App;
|
2024-11-05 17:40:32 +01:00
|
|
|
use OCP\AppFramework\Bootstrap\IBootstrap;
|
|
|
|
use OCP\AppFramework\Bootstrap\IRegistrationContext;
|
|
|
|
use OCP\AppFramework\Bootstrap\IBootContext;
|
2024-08-20 15:03:44 +02:00
|
|
|
|
2024-11-05 17:40:32 +01:00
|
|
|
use OCA\DAV\Events\SabrePluginAddEvent;
|
|
|
|
|
|
|
|
use OCA\OrganizationFolders\Listener\SabrePluginAddListener;
|
|
|
|
|
|
|
|
class Application extends App implements IBootstrap {
|
2024-08-20 15:03:44 +02:00
|
|
|
public const APP_ID = 'organization_folders';
|
|
|
|
|
|
|
|
public function __construct() {
|
|
|
|
parent::__construct(self::APP_ID);
|
|
|
|
}
|
2024-11-05 17:40:32 +01:00
|
|
|
|
|
|
|
public function register(IRegistrationContext $context): void {
|
|
|
|
$context->registerEventListener(SabrePluginAddEvent::class, SabrePluginAddListener::class);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function boot(IBootContext $context): void {
|
|
|
|
}
|
2024-08-20 15:03:44 +02:00
|
|
|
}
|