#405: remove unnecessary code
This commit is contained in:
parent
4f4e6eb788
commit
4a590095f2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue