remove invalid condition

This commit is contained in:
Dmitriy Zaporozhets 2012-11-25 18:29:18 +02:00
parent 04b51a2b89
commit ae282f6326

View file

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