aboutsummaryrefslogtreecommitdiffstats
path: root/public.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2025-02-10 11:25:50 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2025-02-13 10:19:19 +0100
commita3685551f7188e7d2d0c7532b821ec2c3bd40583 (patch)
tree43aa4f911e53a66529152cb2ac44e017f0ef9f31 /public.php
parentcffd2c8d09e9e9198aed4754478c18f4c8b7c201 (diff)
downloadnextcloud-server-a3685551f7188e7d2d0c7532b821ec2c3bd40583.tar.gz
nextcloud-server-a3685551f7188e7d2d0c7532b821ec2c3bd40583.zip
fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUser
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'public.php')
-rw-r--r--public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public.php b/public.php
index f6d0b0a7940..fc0e78695c9 100644
--- a/public.php
+++ b/public.php
@@ -70,7 +70,7 @@ try {
OC_App::loadApps(['filesystem', 'logging']);
// Check if the app is enabled
- if (!\OC::$server->getAppManager()->isInstalled($app)) {
+ if (!\OC::$server->getAppManager()->isEnabledForUser($app)) {
throw new \Exception('App not installed: ' . $app);
}