diff options
Diffstat (limited to 'apps/user_ldap/lib/Settings/Admin.php')
-rw-r--r-- | apps/user_ldap/lib/Settings/Admin.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/Settings/Admin.php b/apps/user_ldap/lib/Settings/Admin.php index 21ad82b96ed..21805b6f7b5 100644 --- a/apps/user_ldap/lib/Settings/Admin.php +++ b/apps/user_ldap/lib/Settings/Admin.php @@ -29,10 +29,10 @@ use OCA\User_LDAP\Configuration; use OCA\User_LDAP\Helper; use OCP\AppFramework\Http\TemplateResponse; use OCP\IL10N; -use OCP\Settings\ISettings; +use OCP\Settings\IDelegatedSettings; use OCP\Template; -class Admin implements ISettings { +class Admin implements IDelegatedSettings { /** @var IL10N */ private $l; @@ -98,4 +98,12 @@ class Admin implements ISettings { public function getPriority() { return 5; } + + public function getName(): ?string { + return null; // Only one setting in this section + } + + public function getAuthorizedAppConfig(): array { + return []; // Custom controller + } } |