From f4ed1a747692fc8cf03ec9c027a6b8f444525d96 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Wed, 1 Mar 2017 15:21:24 +0100 Subject: [PATCH] Admin: Remove useless section --- appinfo/info.xml | 4 +--- lib/Settings/Section.php | 47 ---------------------------------------- 2 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 lib/Settings/Section.php diff --git a/appinfo/info.xml b/appinfo/info.xml index 8bdf244..eb3ef94 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -11,8 +11,7 @@ https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/1.png https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png - - + https://github.com/nextcloud/weather https://github.com/nextcloud/weather/issues @@ -21,6 +20,5 @@ Weather \OCA\Weather\Settings\Admin - \OCA\Weather\Settings\Section diff --git a/lib/Settings/Section.php b/lib/Settings/Section.php deleted file mode 100644 index 67a1a46..0000000 --- a/lib/Settings/Section.php +++ /dev/null @@ -1,47 +0,0 @@ - - * @copyright Loic Blot 2017 - */ - -namespace OCA\Weather\Settings; - -use OCP\IL10N; -use OCP\Settings\ISection; - -class Section implements ISection { - /** @var IL10N */ - private $l; - - public function __construct(IL10N $l) { - $this->l = $l; - } - - /** - * {@inheritdoc} - */ - public function getID() { - return 'saml'; - } - - /** - * {@inheritdoc} - */ - public function getName() { - return $this->l->t('Weather'); - } - - /** - * {@inheritdoc} - */ - public function getPriority() { - return 75; - } -} - -?>