We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91e8cac commit ad513bdCopy full SHA for ad513bd
lib/Settings/Admin.php
@@ -23,14 +23,14 @@
23
24
use OCA\UserSQL\Properties;
25
use OCP\AppFramework\Http\TemplateResponse;
26
-use OCP\Settings\ISettings;
+use OCP\Settings\IDelegatedSettings;
27
28
/**
29
* The administrator's settings page.
30
*
31
* @author Marcin Łojewski <dev@mlojewski.me>
32
*/
33
-class Admin implements ISettings
+class Admin implements IDelegatedSettings
34
{
35
36
* @var string The application name.
@@ -76,4 +76,12 @@ public function getPriority()
76
77
return 25;
78
}
79
+
80
+ public function getName(): ?string {
81
+ return null; // Only one setting in this section
82
+ }
83
84
+ public function getAuthorizedAppConfig(): array {
85
+ return []; // Custom controller
86
87
0 commit comments