Remove unrequired getDescription() method

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
pull/4454/head
Lukas Reschke 8 years ago
parent 3f9aaac4a2
commit 78d0bb99f7
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
  1. 7
      lib/private/App/AppStore/Bundles/Bundle.php
  2. 9
      lib/private/App/AppStore/Bundles/CoreBundle.php
  3. 7
      lib/private/App/AppStore/Bundles/EnterpriseBundle.php
  4. 7
      lib/private/App/AppStore/Bundles/GroupwareBundle.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
*

@ -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';
}
/**

@ -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}
*/

@ -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}
*/

Loading…
Cancel
Save