fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUser
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user