diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index c16d2e8..bd59629 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -2,10 +2,10 @@ /** * Nextcloud - user_sql * - * @copyright 2018 Marcin Łojewski - * @author Marcin Łojewski * @copyright 2025 Claus-Justus Heine * @author Claus-Justus Heine + * @copyright 2018 Marcin Łojewski + * @author Marcin Łojewski * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -63,6 +63,9 @@ class Application extends App implements IBootstrap IGroupManager $groupManager, Backend\GroupBackend $groupBackend, ) { + if (!$userBackend->isConfigured() || !$groupBackend->isConfigured()) { + return; + } $userManager->registerBackend($userBackend); $groupManager->addBackend($groupBackend); });