aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Settings/Admin/ArtificialIntelligence.php
diff options
context:
space:
mode:
authorJana Peper <jana.peper@nextcloud.com>2024-12-08 19:16:19 +0100
committerjanepie <49834966+janepie@users.noreply.github.com>2024-12-18 18:32:34 +0100
commit8cac92665d78304aaeb5e9b521f371960175d3df (patch)
tree22fded9bbec9a6fc896cc8df3b451b4ee04572bc /apps/settings/lib/Settings/Admin/ArtificialIntelligence.php
parent32b57e7b4120043c1f21ba881914e61e24d8f2a5 (diff)
downloadnextcloud-server-8cac92665d78304aaeb5e9b521f371960175d3df.tar.gz
nextcloud-server-8cac92665d78304aaeb5e9b521f371960175d3df.zip
feat: filter disabled apps in task types requests
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
Diffstat (limited to 'apps/settings/lib/Settings/Admin/ArtificialIntelligence.php')
-rw-r--r--apps/settings/lib/Settings/Admin/ArtificialIntelligence.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Settings/Admin/ArtificialIntelligence.php b/apps/settings/lib/Settings/Admin/ArtificialIntelligence.php
index 197ea0de283..c6069635367 100644
--- a/apps/settings/lib/Settings/Admin/ArtificialIntelligence.php
+++ b/apps/settings/lib/Settings/Admin/ArtificialIntelligence.php
@@ -114,7 +114,7 @@ class ArtificialIntelligence implements IDelegatedSettings {
}
$taskProcessingTaskTypes = [];
$taskProcessingTypeSettings = [];
- foreach ($this->taskProcessingManager->getAvailableTaskTypes() as $taskTypeId => $taskTypeDefinition) {
+ foreach ($this->taskProcessingManager->getAvailableTaskTypes(true) as $taskTypeId => $taskTypeDefinition) {
$taskProcessingTaskTypes[] = [
'id' => $taskTypeId,
'name' => $taskTypeDefinition['name'],