diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-12-23 16:25:35 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-12-24 19:39:51 +0200 |
commit | 2f93259c6b3a1c543a6ea089f8e84257c7ab6ba5 (patch) | |
tree | 6dcfbec65878e87bfe5c4139e2e39a9c530ce33f /db | |
parent | dcea45015c4b8f9ea36fac02a2ff9817f0c01339 (diff) | |
download | gitlab-ce-2f93259c6b3a1c543a6ea089f8e84257c7ab6ba5.tar.gz |
Removed return from reserved project migration
This return is redundant as the query now uses "WHERE EXISTS (...)" to
filter out projects without a namespace.
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20161221153951_rename_reserved_project_names.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/db/post_migrate/20161221153951_rename_reserved_project_names.rb b/db/post_migrate/20161221153951_rename_reserved_project_names.rb index 46ae434bf70..7f7c2424a5c 100644 --- a/db/post_migrate/20161221153951_rename_reserved_project_names.rb +++ b/db/post_migrate/20161221153951_rename_reserved_project_names.rb @@ -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 |