From 4a590095f24cb813ab46d17a1470bdd97aadb61d Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Thu, 10 Jul 2014 00:41:03 +0400 Subject: [PATCH] #405: remove unnecessary code --- app/jobs/run_extra_mass_builds_job.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/jobs/run_extra_mass_builds_job.rb b/app/jobs/run_extra_mass_builds_job.rb index 41a3f9521..00168ad83 100644 --- a/app/jobs/run_extra_mass_builds_job.rb +++ b/app/jobs/run_extra_mass_builds_job.rb @@ -8,7 +8,6 @@ class RunExtraMassBuildsJob def perform MassBuild.where(status: MassBuild::BUILD_PENDING).find_each do |mb| next if mb.extra_mass_builds.blank? - next if mb.extra_mass_builds.exclude?(mass_build_id) emb = MassBuild.where(status: MassBuild::SUCCESS, id: mb.extra_mass_builds).to_a next if emb.size != mb.extra_mass_builds.size