fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUser

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet
2025-02-10 11:25:50 +01:00
parent cffd2c8d09
commit a3685551f7
22 changed files with 35 additions and 39 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ try {
$file = OC::$SERVERROOT . '/' . $file;
break;
default:
if (!$appManager->isInstalled($app)) {
if (!$appManager->isEnabledForUser($app)) {
throw new RemoteException('App not installed: ' . $app);
}
$appManager->loadApp($app);