aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/AppInfo/Application.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2025-02-10 11:35:38 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2025-02-13 10:19:20 +0100
commitf758f565d4da004ebef97350365a066eee5267fe (patch)
tree5dcea3814c85d70a76cd9ee0575a4b41162d79d3 /apps/files_versions/lib/AppInfo/Application.php
parenta3685551f7188e7d2d0c7532b821ec2c3bd40583 (diff)
downloadnextcloud-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.php2
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'];