diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-01-23 21:06:59 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2020-01-27 07:21:09 +0000 |
commit | a68533e5a648a36500a27593caff16c94b81d163 (patch) | |
tree | 181ac81a0810f0c58f23af5ee45d14e40cdbe046 /lib/private | |
parent | 4f087d7af6962a1486b890a1e7c43d55b4a06eb5 (diff) | |
download | nextcloud-server-a68533e5a648a36500a27593caff16c94b81d163.tar.gz nextcloud-server-a68533e5a648a36500a27593caff16c94b81d163.zip |
add hub bundle for easy post-installation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/App/AppStore/Bundles/BundleFetcher.php | 1 | ||||
-rw-r--r-- | lib/private/App/AppStore/Bundles/HubBundle.php | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/lib/private/App/AppStore/Bundles/BundleFetcher.php b/lib/private/App/AppStore/Bundles/BundleFetcher.php index b2bbd43ec83..5a36907094a 100644 --- a/lib/private/App/AppStore/Bundles/BundleFetcher.php +++ b/lib/private/App/AppStore/Bundles/BundleFetcher.php @@ -42,6 +42,7 @@ class BundleFetcher { public function getBundles() { return [ new EnterpriseBundle($this->l10n), + new HubBundle($this->l10n), new GroupwareBundle($this->l10n), new SocialSharingBundle($this->l10n), new EducationBundle($this->l10n), diff --git a/lib/private/App/AppStore/Bundles/HubBundle.php b/lib/private/App/AppStore/Bundles/HubBundle.php new file mode 100644 index 00000000000..cef0c6302e3 --- /dev/null +++ b/lib/private/App/AppStore/Bundles/HubBundle.php @@ -0,0 +1,43 @@ +<?php +declare(strict_types=1); +/** + * @copyright Copyright (c) 2020 Arthur Schiwon <blizzz@arthur-schiwon.de> + * + * @author Arthur Schiwon <blizzz@arthur-schiwon.de> + * + * @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 OC\App\AppStore\Bundles; + +class HubBundle extends Bundle { + + public function getName() { + return $this->l10n->t('Hub bundle'); + } + + public function getAppIdentifiers() { + return [ + 'spreed', + 'contacts', + 'calendar', + 'mail', + 'documentserver_community', + 'onlyoffice', + ]; + } +} |