remove invalid condition
This commit is contained in:
parent
04b51a2b89
commit
ae282f6326
|
@ -31,7 +31,6 @@ namespace :gitlab do
|
|||
|
||||
Project.where('namespace_id IS NOT NULL').find_each(batch_size: 500) do |project|
|
||||
next unless project.group
|
||||
next if project.empty_repo?
|
||||
|
||||
group = project.group
|
||||
|
||||
|
|
Loading…
Reference in a new issue