Commit 2f93259c authored by Yorick Peterse's avatar Yorick Peterse Committed by Dmitriy Zaporozhets

Removed return from reserved project migration

This return is redundant as the query now uses "WHERE EXISTS (...)" to
filter out projects without a namespace.
parent dcea4501
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment