mirror of https://github.com/sualko/cloud_bbb
parent
74afa106e0
commit
9e9784564e
|
@ -38,5 +38,6 @@ Developer wanted! If you have time it would be awesome if you could help to enha
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<settings>
|
<settings>
|
||||||
<admin>OCA\BigBlueButton\Settings\Admin</admin>
|
<admin>OCA\BigBlueButton\Settings\Admin</admin>
|
||||||
|
<personal-section>OCA\BigBlueButton\Settings\Section</personal-section>
|
||||||
</settings>
|
</settings>
|
||||||
</info>
|
</info>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
namespace OCA\BigBlueButton\AppInfo;
|
namespace OCA\BigBlueButton\AppInfo;
|
||||||
|
|
||||||
use \OCP\IConfig;
|
use \OCP\IConfig;
|
||||||
|
use \OCP\Settings\IManager as ISettingsManager;
|
||||||
use \OCP\AppFramework\App;
|
use \OCP\AppFramework\App;
|
||||||
use \OCA\BigBlueButton\Middleware\JoinMiddleware;
|
use \OCA\BigBlueButton\Middleware\JoinMiddleware;
|
||||||
|
|
||||||
|
@ -30,8 +31,7 @@ class Application extends App {
|
||||||
private function registerAsPersonalSetting() {
|
private function registerAsPersonalSetting() {
|
||||||
$settingsManager = $this->getContainer()->getServer()->getSettingsManager();
|
$settingsManager = $this->getContainer()->getServer()->getSettingsManager();
|
||||||
|
|
||||||
$settingsManager->registerSection('personal', \OCA\BigBlueButton\Settings\Section::class);
|
$settingsManager->registerSetting(ISettingsManager::KEY_PERSONAL_SETTINGS, \OCA\BigBlueButton\Settings\Personal::class);
|
||||||
$settingsManager->registerSetting('personal', \OCA\BigBlueButton\Settings\Personal::class);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private function registerAsNavigationEntry() {
|
private function registerAsNavigationEntry() {
|
||||||
|
|
Loading…
Reference in New Issue