Skip to content

Commit c0a608e

Browse files
bromiesTMprintminion-co
authored andcommitted
feat(settings): implement IDelegatedSettings for activity admin settings
Signed-off-by: Kai Henseler <kai.henseler@strato.de>
1 parent f1a3cef commit c0a608e

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

‎lib/Settings/Admin.php‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
use OCP\AppFramework\Services\IInitialState;
1616
use OCP\IConfig;
1717
use OCP\IL10N;
18-
use OCP\Settings\ISettings;
18+
use OCP\Settings\IDelegatedSettings;
1919

20-
class Admin implements ISettings {
20+
class Admin implements IDelegatedSettings {
2121
private IConfig $config;
2222
private IL10N $l10n;
2323
private IManager $manager;
@@ -117,4 +117,14 @@ public function getSection(): string {
117117
public function getPriority(): int {
118118
return 55;
119119
}
120+
121+
#[\Override]
122+
public function getName(): string {
123+
return $this->l10n->t('Activity');
124+
}
125+
126+
#[\Override]
127+
public function getAuthorizedAppConfig(): array {
128+
return [];
129+
}
120130
}

0 commit comments

Comments
 (0)