summaryrefslogtreecommitdiff
path: root/app/models/project.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-01-03 16:17:16 +0100
committerJames Lopez <james@jameslopez.es>2018-01-03 16:17:16 +0100
commit86257cf7138a6d28c055071219142722787b6546 (patch)
tree2df6181c6b496617a8d6e7b8a38e24014bfa61f2 /app/models/project.rb
parent80112ca4ec0104c06e939a546b92c7bdb230c01f (diff)
downloadgitlab-ce-86257cf7138a6d28c055071219142722787b6546.tar.gz
Diffstat (limited to 'app/models/project.rb')
-rw-r--r--app/models/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index e37eae9f176..6ebb083aeb4 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -639,7 +639,7 @@ class Project < ActiveRecord::Base
end
def import?
- external_import? || forked? || gitlab_project_import?
+ external_import? || forked? || gitlab_project_import? || bare_repository_import?
end
def no_import?