summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-13 00:59:04 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-13 01:02:25 +0200
commit158d78e1abf150faf122ae91a9965605a413ffe5 (patch)
tree1574de4a85a19c862e10560fddbc2a37b26846cc /apps
parentd2fcac8300ba18e001fa3a2ae4d422331b24c953 (diff)
downloadnextcloud-server-158d78e1abf150faf122ae91a9965605a413ffe5.tar.gz
nextcloud-server-158d78e1abf150faf122ae91a9965605a413ffe5.zip
move mail settings and file handling to additional ones, thus files_external gets its own section
Diffstat (limited to 'apps')
-rw-r--r--apps/files/appinfo/info.xml1
-rw-r--r--apps/files/lib/Settings/Admin.php2
-rw-r--r--apps/files_external/appinfo/info.xml1
-rw-r--r--apps/files_external/lib/Settings/Admin.php2
-rw-r--r--apps/files_external/lib/Settings/Section.php (renamed from apps/files/lib/Settings/Section.php)6
5 files changed, 6 insertions, 6 deletions
diff --git a/apps/files/appinfo/info.xml b/apps/files/appinfo/info.xml
index c1666af6348..513940f73a9 100644
--- a/apps/files/appinfo/info.xml
+++ b/apps/files/appinfo/info.xml
@@ -25,6 +25,5 @@
<settings>
<admin>OCA\Files\Settings\Admin</admin>
- <admin-section>OCA\Files\Settings\Section</admin-section>
</settings>
</info>
diff --git a/apps/files/lib/Settings/Admin.php b/apps/files/lib/Settings/Admin.php
index d0a691ffe66..9ec23d47517 100644
--- a/apps/files/lib/Settings/Admin.php
+++ b/apps/files/lib/Settings/Admin.php
@@ -76,7 +76,7 @@ class Admin implements ISettings {
* @return string the section ID, e.g. 'sharing'
*/
public function getSection() {
- return 'files';
+ return 'additional';
}
/**
diff --git a/apps/files_external/appinfo/info.xml b/apps/files_external/appinfo/info.xml
index cd52c39b30e..60131759880 100644
--- a/apps/files_external/appinfo/info.xml
+++ b/apps/files_external/appinfo/info.xml
@@ -27,5 +27,6 @@
<settings>
<admin>OCA\Files_External\Settings\Admin</admin>
+ <admin-section>OCA\Files_External\Settings\Section</admin-section>
</settings>
</info>
diff --git a/apps/files_external/lib/Settings/Admin.php b/apps/files_external/lib/Settings/Admin.php
index 102680d0341..54711443f89 100644
--- a/apps/files_external/lib/Settings/Admin.php
+++ b/apps/files_external/lib/Settings/Admin.php
@@ -79,7 +79,7 @@ class Admin implements ISettings {
* @return string the section ID, e.g. 'sharing'
*/
public function getSection() {
- return 'files';
+ return 'externalstorages';
}
/**
diff --git a/apps/files/lib/Settings/Section.php b/apps/files_external/lib/Settings/Section.php
index 0a1ddcab6fd..4b4bac93d29 100644
--- a/apps/files/lib/Settings/Section.php
+++ b/apps/files_external/lib/Settings/Section.php
@@ -21,7 +21,7 @@
*
*/
-namespace OCA\Files\Settings;
+namespace OCA\Files_External\Settings;
use OCP\IL10N;
use OCP\Settings\ISection;
@@ -41,7 +41,7 @@ class Section implements ISection {
* @returns string
*/
public function getID() {
- return 'files';
+ return 'externalstorages';
}
/**
@@ -51,7 +51,7 @@ class Section implements ISection {
* @return string
*/
public function getName() {
- return $this->l->t('Files & storages');
+ return $this->l->t('External storages');
}
/**