Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/survey_client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-08-16 15:28:14 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2016-08-16 22:26:01 +0300
commitda616e68b12de06b5c7c59645668595b5a46475d (patch)
treedb63bc884d98991bd11edef1b9646468ac1fde53 /appinfo
parent093152395112ab0cce32ba4672d56442e3f4a13d (diff)
move settings to a seperate page in the admin settings
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php2
-rw-r--r--appinfo/info.xml4
2 files changed, 4 insertions, 2 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 0f4801b..807cac9 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -19,8 +19,6 @@
*
*/
-\OCP\App::registerAdmin('survey_client', 'admin');
-
$l = \OC::$server->getL10N('survey_client');
$notificationManager = \OC::$server->getNotificationManager();
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 6d0ce26..4cb5441 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -17,4 +17,8 @@
<owncloud min-version="9.1" max-version="9.2" />
</dependencies>
<default_enable/>
+ <settings>
+ <admin>\OCA\Survey_Client\Settings\AdminSettings</admin>
+ <admin-section>\OCA\Survey_Client\Settings\AdminSection</admin-section>
+ </settings>
</info>