aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib
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_trashbin/lib
parenta3685551f7188e7d2d0c7532b821ec2c3bd40583 (diff)
downloadnextcloud-server-f758f565d4da004ebef97350365a066eee5267fe.tar.gz
nextcloud-server-f758f565d4da004ebef97350365a066eee5267fe.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_trashbin/lib')
-rw-r--r--apps/files_trashbin/lib/AppInfo/Application.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/AppInfo/Application.php b/apps/files_trashbin/lib/AppInfo/Application.php
index 000677de96c..d5b30a18def 100644
--- a/apps/files_trashbin/lib/AppInfo/Application.php
+++ b/apps/files_trashbin/lib/AppInfo/Application.php
@@ -74,7 +74,7 @@ class Application extends App implements IBootstrap {
}
public function registerTrashBackends(ContainerInterface $serverContainer, LoggerInterface $logger, IAppManager $appManager, ITrashManager $trashManager): void {
- foreach ($appManager->getInstalledApps() as $app) {
+ foreach ($appManager->getEnabledApps() as $app) {
$appInfo = $appManager->getAppInfo($app);
if (isset($appInfo['trash'])) {
$backends = $appInfo['trash'];