diff options
Diffstat (limited to 'apps/sharebymail/lib/AppInfo/Application.php')
-rw-r--r-- | apps/sharebymail/lib/AppInfo/Application.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/apps/sharebymail/lib/AppInfo/Application.php b/apps/sharebymail/lib/AppInfo/Application.php new file mode 100644 index 00000000000..792f7f31664 --- /dev/null +++ b/apps/sharebymail/lib/AppInfo/Application.php @@ -0,0 +1,30 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace OCA\ShareByMail\AppInfo; + +use OCA\ShareByMail\Capabilities; +use OCP\AppFramework\App; +use OCP\AppFramework\Bootstrap\IBootContext; +use OCP\AppFramework\Bootstrap\IBootstrap; +use OCP\AppFramework\Bootstrap\IRegistrationContext; + +class Application extends App implements IBootstrap { + public const APP_ID = 'sharebymail'; + + public function __construct() { + parent::__construct(self::APP_ID); + } + + public function register(IRegistrationContext $context): void { + $context->registerCapability(Capabilities::class); + } + + public function boot(IBootContext $context): void { + } +} |