From 78d0bb99f77ac37ddb4d8ab33867e7b443d45700 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 25 Apr 2017 23:17:59 +0200 Subject: Remove unrequired getDescription() method Signed-off-by: Lukas Reschke --- lib/private/App/AppStore/Bundles/Bundle.php | 7 ------- lib/private/App/AppStore/Bundles/CoreBundle.php | 9 +-------- lib/private/App/AppStore/Bundles/EnterpriseBundle.php | 7 ------- lib/private/App/AppStore/Bundles/GroupwareBundle.php | 7 ------- 4 files changed, 1 insertion(+), 29 deletions(-) (limited to 'lib') diff --git a/lib/private/App/AppStore/Bundles/Bundle.php b/lib/private/App/AppStore/Bundles/Bundle.php index 596f02d51e5..47efc4e0cce 100644 --- a/lib/private/App/AppStore/Bundles/Bundle.php +++ b/lib/private/App/AppStore/Bundles/Bundle.php @@ -50,13 +50,6 @@ abstract class Bundle { */ public abstract function getName(); - /** - * Get the description of the bundle - * - * @return string - */ - public abstract function getDescription(); - /** * Get the list of app identifiers in the bundle * diff --git a/lib/private/App/AppStore/Bundles/CoreBundle.php b/lib/private/App/AppStore/Bundles/CoreBundle.php index b400d0d0f6f..a87292b9ec9 100644 --- a/lib/private/App/AppStore/Bundles/CoreBundle.php +++ b/lib/private/App/AppStore/Bundles/CoreBundle.php @@ -27,14 +27,7 @@ class CoreBundle extends Bundle { * {@inheritDoc} */ public function getName() { - return (string)$this->l10n->t('Core bundle'); - } - - /** - * {@inheritDoc} - */ - public function getDescription() { - return (string)$this->l10n->t('Default apps required by Nextcloud'); + return 'Core bundle'; } /** diff --git a/lib/private/App/AppStore/Bundles/EnterpriseBundle.php b/lib/private/App/AppStore/Bundles/EnterpriseBundle.php index ed7c1180785..6d43a6210fa 100644 --- a/lib/private/App/AppStore/Bundles/EnterpriseBundle.php +++ b/lib/private/App/AppStore/Bundles/EnterpriseBundle.php @@ -30,13 +30,6 @@ class EnterpriseBundle extends Bundle { return (string)$this->l10n->t('Enterprise bundle'); } - /** - * {@inheritDoc} - */ - public function getDescription() { - return (string)$this->l10n->t('Apps for the Enterprise.'); - } - /** * {@inheritDoc} */ diff --git a/lib/private/App/AppStore/Bundles/GroupwareBundle.php b/lib/private/App/AppStore/Bundles/GroupwareBundle.php index b05a54accf5..f6c7d336038 100644 --- a/lib/private/App/AppStore/Bundles/GroupwareBundle.php +++ b/lib/private/App/AppStore/Bundles/GroupwareBundle.php @@ -30,13 +30,6 @@ class GroupwareBundle extends Bundle { return (string)$this->l10n->t('Groupware bundle'); } - /** - * {@inheritDoc} - */ - public function getDescription() { - return (string)$this->l10n->t('Apps for groupware functionalities.'); - } - /** * {@inheritDoc} */ -- cgit v1.2.3