diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-04-30 17:29:56 +0300 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-02 12:29:27 +0300 |
commit | 4c8f3d6d77c5a6bb4a7eced86890039d15d9ca67 (patch) | |
tree | a495fae781a7d3027eba3f81bf9e130b966508d6 /apps/cloud_federation_api/lib/AppInfo | |
parent | 21e64ec7f41dcf5424c3357f7ce07b22a817a16e (diff) |
add cloud federation api app
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/cloud_federation_api/lib/AppInfo')
-rw-r--r-- | apps/cloud_federation_api/lib/AppInfo/Application.php | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/apps/cloud_federation_api/lib/AppInfo/Application.php b/apps/cloud_federation_api/lib/AppInfo/Application.php new file mode 100644 index 00000000000..3ea3037d12a --- /dev/null +++ b/apps/cloud_federation_api/lib/AppInfo/Application.php @@ -0,0 +1,37 @@ +<?php +/** + * @copyright Copyright (c) 2018 Bjoern Schiessle <bjoern@schiessle.org> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + + +namespace OCA\CloudFederationAPI\AppInfo; + + +use OCA\CloudFederationAPI\Capabilities; +use OCP\AppFramework\App; + +class Application extends App { + + public function __construct() { + parent::__construct('cloud_federation_api'); + + $container = $this->getContainer(); + $container->registerCapability(Capabilities::class); + } +} |