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_trashbin/lib | |
parent | a3685551f7188e7d2d0c7532b821ec2c3bd40583 (diff) | |
download | nextcloud-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.php | 2 |
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']; |