diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2025-07-17 17:58:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-17 17:58:03 +0200 |
commit | ebc5ae810e808c97b6bca6d6ad1388abcb27cbd4 (patch) | |
tree | 62c549cb834bcd92795e9c486b9bfa3d2caffeec /lib/private | |
parent | 2cbfdcc4932857cc9f335aab86b37cc31cfa863a (diff) | |
parent | 1eb6f0b0f26dc1c3b52ea855204b8ca29cd926f5 (diff) | |
download | nextcloud-server-master.tar.gz nextcloud-server-master.zip |
feat(files_sharing): add config option for extending link-share permissions
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/AppFramework/Bootstrap/Coordinator.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Bootstrap/Coordinator.php b/lib/private/AppFramework/Bootstrap/Coordinator.php index 64e3dbfd928..a31dd6a05e1 100644 --- a/lib/private/AppFramework/Bootstrap/Coordinator.php +++ b/lib/private/AppFramework/Bootstrap/Coordinator.php @@ -46,7 +46,13 @@ class Coordinator { } public function runInitialRegistration(): void { - $this->registerApps(OC_App::getEnabledApps()); + $apps = OC_App::getEnabledApps(); + if (!empty($apps)) { + // make sure to also register the core app + $apps = ['core', ...$apps]; + } + + $this->registerApps($apps); } public function runLazyRegistration(string $appId): void { |