aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TaskProcessing
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 /lib/private/TaskProcessing
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 'lib/private/TaskProcessing')
-rw-r--r--lib/private/TaskProcessing/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/TaskProcessing/Manager.php b/lib/private/TaskProcessing/Manager.php
index 0c8d2414448..07e643ab004 100644
--- a/lib/private/TaskProcessing/Manager.php
+++ b/lib/private/TaskProcessing/Manager.php
@@ -1396,7 +1396,7 @@ class Manager implements IManager {
$this->logger->warning('Task processing AppAPI webhook failed for task ' . $task->getId() . '. Invalid method: ' . $method);
}
[, $exAppId, $httpMethod] = $parsedMethod;
- if (!$this->appManager->isInstalled('app_api')) {
+ if (!$this->appManager->isEnabledForAnyone('app_api')) {
$this->logger->warning('Task processing AppAPI webhook failed for task ' . $task->getId() . '. AppAPI is disabled or not installed.');
return;
}