Remove unrequired getDescription() method

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-04-25 23:17:59 +02:00
parent 3f9aaac4a2
commit 78d0bb99f7
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
4 changed files with 1 additions and 29 deletions

View File

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

View File

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

View File

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

View File

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