Admin: Remove useless section
parent
2fe7fad749
commit
f4ed1a7476
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Loading…
Reference in New Issue