Admin: Remove useless section

master
Loic Blot 2017-03-01 15:21:24 +01:00
parent 2fe7fad749
commit f4ed1a7476
No known key found for this signature in database
GPG Key ID: EFAA458E8C153987
2 changed files with 1 additions and 50 deletions

View File

@ -11,8 +11,7 @@
<screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/1.png</screenshot>
<screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png</screenshot>
<dependencies>
<owncloud min-version="7.0" max-version="9.1" />
<nextcloud min-version="9" max-version="11" />
<nextcloud min-version="10" max-version="11" />
</dependencies>
<website>https://github.com/nextcloud/weather</website>
<bugs>https://github.com/nextcloud/weather/issues</bugs>
@ -21,6 +20,5 @@
<namespace>Weather</namespace>
<settings>
<admin>\OCA\Weather\Settings\Admin</admin>
<admin-section>\OCA\Weather\Settings\Section</admin-section>
</settings>
</info>

View File

@ -1,47 +0,0 @@
<?php
/**
* ownCloud - Weather
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Loic Blot <loic.blot@unix-experience.fr>
* @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;
}
}
?>