From 4aea16ca8c4a4c771e8a9f43926b8b7013bb6dcf Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Thu, 17 Mar 2022 19:55:31 +0000 Subject: [PATCH] remove check --- api/tacticalrmm/automation/models.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/api/tacticalrmm/automation/models.py b/api/tacticalrmm/automation/models.py index c2ade2bf..a2b73726 100644 --- a/api/tacticalrmm/automation/models.py +++ b/api/tacticalrmm/automation/models.py @@ -150,13 +150,6 @@ class Policy(BaseAuditModel): for task in policy.autotasks.all(): tasks.append(task) - # remove policy tasks that use scripts that aren't compatible with the agent platform - tasks = [ - task - for task in tasks - if agent.is_supported_script(task.script.supported_platforms) - ] - # remove policy tasks from agent not included in policy for task in agent.autotasks.filter( parent_task__in=[