Remove subject check in publish observer
This commit is contained in:
parent
82f35228c8
commit
ad073d2e39
|
@ -4,7 +4,6 @@ module AbfWorker
|
||||||
|
|
||||||
def real_perform
|
def real_perform
|
||||||
@subject_class = BuildList
|
@subject_class = BuildList
|
||||||
return if !subject
|
|
||||||
return if status == STARTED # do nothing when publication started
|
return if status == STARTED # do nothing when publication started
|
||||||
extra = options['extra']
|
extra = options['extra']
|
||||||
repository_status = RepositoryStatus.where(id: extra['repository_status_id']).first
|
repository_status = RepositoryStatus.where(id: extra['repository_status_id']).first
|
||||||
|
@ -88,4 +87,4 @@ module AbfWorker
|
||||||
sort_results_and_save results, build_list
|
sort_results_and_save results, build_list
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue