diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-12-21 18:58:36 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2018-01-03 21:13:32 +0300 |
commit | 93eba91df9af083ea80b3b8ab01986efdeec43a0 (patch) | |
tree | 2ed14dfb2c0e4ff038ba304c59ed470d91d4aa3a /app/services/projects/create_service.rb | |
parent | 9d575acc5b46be7e0b76ccc763997412cd278ef0 (diff) |
Refactoring Project#write_repository_config
Diffstat (limited to 'app/services/projects/create_service.rb')
-rw-r--r-- | app/services/projects/create_service.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/services/projects/create_service.rb b/app/services/projects/create_service.rb index 24ae50f8dc4..01838ec6b5d 100644 --- a/app/services/projects/create_service.rb +++ b/app/services/projects/create_service.rb @@ -88,11 +88,7 @@ module Projects log_info("#{@project.owner.name} created a new project \"#{@project.name_with_namespace}\"") unless @project.gitlab_project_import? - # We'd need to keep track of project full path otherwise directory tree - # created with hashed storage enabled cannot be usefully imported using - # the import rake task. - @project.write_repository_config(:fullpath, @project.full_path) - + @project.write_repository_config @project.create_wiki unless skip_wiki? create_services_from_active_templates(@project) |