Remove unrequired getDescription() method
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
3f9aaac4a2
commit
78d0bb99f7
|
@ -50,13 +50,6 @@ abstract class Bundle {
|
||||||
*/
|
*/
|
||||||
public abstract function getName();
|
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
|
* Get the list of app identifiers in the bundle
|
||||||
*
|
*
|
||||||
|
|
|
@ -27,14 +27,7 @@ class CoreBundle extends Bundle {
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
public function getName() {
|
public function getName() {
|
||||||
return (string)$this->l10n->t('Core bundle');
|
return 'Core bundle';
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*/
|
|
||||||
public function getDescription() {
|
|
||||||
return (string)$this->l10n->t('Default apps required by Nextcloud');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -30,13 +30,6 @@ class EnterpriseBundle extends Bundle {
|
||||||
return (string)$this->l10n->t('Enterprise bundle');
|
return (string)$this->l10n->t('Enterprise bundle');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*/
|
|
||||||
public function getDescription() {
|
|
||||||
return (string)$this->l10n->t('Apps for the Enterprise.');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -30,13 +30,6 @@ class GroupwareBundle extends Bundle {
|
||||||
return (string)$this->l10n->t('Groupware bundle');
|
return (string)$this->l10n->t('Groupware bundle');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* {@inheritDoc}
|
|
||||||
*/
|
|
||||||
public function getDescription() {
|
|
||||||
return (string)$this->l10n->t('Apps for groupware functionalities.');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue