#405: remove unnecessary code

This commit is contained in:
Vokhmin Alexey V 2014-07-10 00:41:03 +04:00
parent 4f4e6eb788
commit 4a590095f2
1 changed files with 0 additions and 1 deletions

View File

@ -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