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:
parent
dcea45015c
commit
2f93259c6b
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue