summaryrefslogtreecommitdiff
path: root/app/models/concerns/has_status.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/has_status.rb')
-rw-r--r--app/models/concerns/has_status.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/concerns/has_status.rb b/app/models/concerns/has_status.rb
index 758d71b7f4c..3803e18a96e 100644
--- a/app/models/concerns/has_status.rb
+++ b/app/models/concerns/has_status.rb
@@ -12,10 +12,6 @@ module HasStatus
failed: 4, canceled: 5, skipped: 6, manual: 7 }.freeze
class_methods do
- def enumerate_status!
- enum status: HasStatus::STATUSES_ENUM
- end
-
def status_sql
scope_relevant = respond_to?(:exclude_ignored) ? exclude_ignored : all
scope_warnings = respond_to?(:failed_but_allowed) ? failed_but_allowed : none