diff --git a/awx/main/models/ad_hoc_commands.py b/awx/main/models/ad_hoc_commands.py index a1db3f6d73..1a48bbffcb 100644 --- a/awx/main/models/ad_hoc_commands.py +++ b/awx/main/models/ad_hoc_commands.py @@ -201,17 +201,6 @@ class AdHocCommand(UnifiedJob): update_fields.append('name') super(AdHocCommand, self).save(*args, **kwargs) - # AdHocCommand Credential required - @property - def can_start(self): - if not super(AdHocCommand, self).can_start: - return False - - if not (self.credential and self.credential.active): - return False - - return True - class AdHocCommandEvent(CreatedModifiedModel): '''