Removed return from reserved project migration

This return is redundant as the query now uses "WHERE EXISTS (...)" to
filter out projects without a namespace.
This commit is contained in:
Yorick Peterse 2016-12-23 16:25:35 +01:00 committed by Dmitriy Zaporozhets
parent dcea45015c
commit 2f93259c6b

View file

@ -112,8 +112,6 @@ class RenameReservedProjectNames < ActiveRecord::Migration
def rename_projects(projects)
projects.each do |project|
next unless project.namespace
id = project.id
path_was = project.path
namespace_path = project.namespace.path