diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2025-02-10 11:35:38 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2025-02-13 10:19:20 +0100 |
commit | f758f565d4da004ebef97350365a066eee5267fe (patch) | |
tree | 5dcea3814c85d70a76cd9ee0575a4b41162d79d3 /apps/files_versions/lib/AppInfo/Application.php | |
parent | a3685551f7188e7d2d0c7532b821ec2c3bd40583 (diff) | |
download | nextcloud-server-fix/clarify-app-manager-methods.tar.gz nextcloud-server-fix/clarify-app-manager-methods.zip |
fix: Replace getInstalledApps calls with getEnabledAppsfix/clarify-app-manager-methods
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/files_versions/lib/AppInfo/Application.php')
-rw-r--r-- | apps/files_versions/lib/AppInfo/Application.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/AppInfo/Application.php b/apps/files_versions/lib/AppInfo/Application.php index a31e9823efd..2a033501f74 100644 --- a/apps/files_versions/lib/AppInfo/Application.php +++ b/apps/files_versions/lib/AppInfo/Application.php @@ -114,7 +114,7 @@ class Application extends App implements IBootstrap { } public function registerVersionBackends(ContainerInterface $container, IAppManager $appManager, LoggerInterface $logger): void { - foreach ($appManager->getInstalledApps() as $app) { + foreach ($appManager->getEnabledApps() as $app) { $appInfo = $appManager->getAppInfo($app); if (isset($appInfo['versions'])) { $backends = $appInfo['versions']; |