summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorVladimir Shushlin <vshushlin@gitlab.com>2019-05-20 08:44:20 +0000
committerNick Thomas <nick@gitlab.com>2019-05-20 08:44:20 +0000
commit6bec8cbdebdf598285aaf91440a6992a43d26927 (patch)
treeb0711f76b41f4343a7a98369d780e59ee2a7d849 /app/workers
parent5666c8eb0cfc0f9f48bcab59c88e8a6b6bef84ff (diff)
downloadgitlab-ce-6bec8cbdebdf598285aaf91440a6992a43d26927.tar.gz
Remove remove_disabled_domains feature flag
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/pages_domain_removal_cron_worker.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/workers/pages_domain_removal_cron_worker.rb b/app/workers/pages_domain_removal_cron_worker.rb
index 3aca123e5ac..79f38e1b89f 100644
--- a/app/workers/pages_domain_removal_cron_worker.rb
+++ b/app/workers/pages_domain_removal_cron_worker.rb
@@ -5,8 +5,6 @@ class PagesDomainRemovalCronWorker
include CronjobQueue
def perform
- return unless Feature.enabled?(:remove_disabled_domains)
-
PagesDomain.for_removal.find_each do |domain|
domain.destroy!
rescue => e