diff --git a/appinfo/info.xml b/appinfo/info.xml index 8515e35..45f887c 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -38,5 +38,6 @@ Developer wanted! If you have time it would be awesome if you could help to enha OCA\BigBlueButton\Settings\Admin + OCA\BigBlueButton\Settings\Section diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 2ae43a9..2929f81 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -3,6 +3,7 @@ namespace OCA\BigBlueButton\AppInfo; use \OCP\IConfig; +use \OCP\Settings\IManager as ISettingsManager; use \OCP\AppFramework\App; use \OCA\BigBlueButton\Middleware\JoinMiddleware; @@ -30,8 +31,7 @@ class Application extends App { private function registerAsPersonalSetting() { $settingsManager = $this->getContainer()->getServer()->getSettingsManager(); - $settingsManager->registerSection('personal', \OCA\BigBlueButton\Settings\Section::class); - $settingsManager->registerSetting('personal', \OCA\BigBlueButton\Settings\Personal::class); + $settingsManager->registerSetting(ISettingsManager::KEY_PERSONAL_SETTINGS, \OCA\BigBlueButton\Settings\Personal::class); } private function registerAsNavigationEntry() {