Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-01-16 15:39:57 +0300
committerJames Lopez <james@jameslopez.es>2017-01-16 15:39:57 +0300
commitefea5e70966ccd656577c794e767ac00154b5c83 (patch)
treea27059f9799496f5a3b6fcc9d64a2914385e7182 /db
parent320cd7f3648b0e30bf48d0fff461d1f79090a589 (diff)
fix typo
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20161226122833_remove_dot_git_from_usernames.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20161226122833_remove_dot_git_from_usernames.rb b/db/migrate/20161226122833_remove_dot_git_from_usernames.rb
index c3a8f2fd91c..a01f7e4ed52 100644
--- a/db/migrate/20161226122833_remove_dot_git_from_usernames.rb
+++ b/db/migrate/20161226122833_remove_dot_git_from_usernames.rb
@@ -71,7 +71,7 @@ class RemoveDotGitFromUsernames < ActiveRecord::Migration
route_exists = route_exists?(path)
Gitlab.config.repositories.storages.each_value do |storage|
- if route_exists && path_exists?(path, storage)
+ if route_exists || path_exists?(path, storage)
counter += 1
path = "#{base}#{counter}"