diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-04-25 23:17:59 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-04-26 20:07:51 +0200 |
commit | 78d0bb99f77ac37ddb4d8ab33867e7b443d45700 (patch) | |
tree | e2394a483b25618f15d7c15ce24c81aa82781b6e /lib | |
parent | 3f9aaac4a25c0727ebc8974adbd65ef40612ca55 (diff) | |
download | nextcloud-server-78d0bb99f77ac37ddb4d8ab33867e7b443d45700.tar.gz nextcloud-server-78d0bb99f77ac37ddb4d8ab33867e7b443d45700.zip |
Remove unrequired getDescription() method
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib')
4 files changed, 1 insertions, 29 deletions
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 @@ -51,13 +51,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 * * @return array 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 @@ -33,13 +33,6 @@ class EnterpriseBundle extends Bundle { /** * {@inheritDoc} */ - public function getDescription() { - return (string)$this->l10n->t('Apps for the Enterprise.'); - } - - /** - * {@inheritDoc} - */ public function getAppIdentifiers() { return [ 'admin_audit', 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 @@ -33,13 +33,6 @@ class GroupwareBundle extends Bundle { /** * {@inheritDoc} */ - public function getDescription() { - return (string)$this->l10n->t('Apps for groupware functionalities.'); - } - - /** - * {@inheritDoc} - */ public function getAppIdentifiers() { return [ 'calendar', |