Skip to content

Commit 0b84555

Browse files
author
Kent Delante
committed
fix: Implement new function required by IManager
Signed-off-by: Kent Delante <kent.delante@proton.me>
1 parent 046c148 commit 0b84555

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎lib/FilteredSettingsManager.php‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,12 @@ public function getPersonalSettings($section): array {
7373
public function getSection(string $type, string $sectionId): ?IIconSection {
7474
return $this->manager->getSection($type, $sectionId);
7575
}
76+
77+
public function getAdminDelegatedSettings(): array {
78+
if (method_exists($this->manager, 'getAdminDelegatedSettings')) {
79+
return $this->manager->getAdminDelegatedSettings();
80+
}
81+
82+
throw new \Exception('Method not available in version 32 or older');
83+
}
7684
}

0 commit comments

Comments
 (0)