diff options
author | Jana Peper <jana.peper@nextcloud.com> | 2024-12-08 19:16:19 +0100 |
---|---|---|
committer | janepie <49834966+janepie@users.noreply.github.com> | 2024-12-18 18:32:34 +0100 |
commit | 8cac92665d78304aaeb5e9b521f371960175d3df (patch) | |
tree | 22fded9bbec9a6fc896cc8df3b451b4ee04572bc /apps/settings/lib/Settings/Admin/ArtificialIntelligence.php | |
parent | 32b57e7b4120043c1f21ba881914e61e24d8f2a5 (diff) | |
download | nextcloud-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.php | 2 |
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'], |