diff --git a/appinfo/app.php b/appinfo/app.php index 1f1f958..dee9a8d 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -11,8 +11,6 @@ namespace OCA\Weather\AppInfo; -OCP\App::registerAdmin('weather', 'settings') - if (class_exists('\OCP\AppFramework\App')) { \OCP\App::addNavigationEntry(array( // the string under which your app will be referenced in owncloud @@ -34,6 +32,6 @@ if (class_exists('\OCP\AppFramework\App')) { 'name' => \OCP\Util::getL10N('weather')->t('Weather') )); } else { - $msg = 'Can not enable the OwnBoard app because the App Framework App is disabled'; + $msg = 'Can not enable Weather app because the App Framework App is disabled'; \OCP\Util::writeLog('weather', $msg, \OCP\Util::ERROR); } diff --git a/lib/Settings/Admin.php b/lib/Settings/Admin.php index 22a676f..410091f 100644 --- a/lib/Settings/Admin.php +++ b/lib/Settings/Admin.php @@ -45,7 +45,7 @@ class Admin implements ISettings { * @return string the section ID, e.g. 'sharing' */ public function getSection() { - return 'weather'; + return 'additional'; } /** diff --git a/templates/settings.php b/templates/admin.php similarity index 100% rename from templates/settings.php rename to templates/admin.php