fix missing create services call

This commit is contained in:
James Lopez 2018-01-02 16:48:46 +01:00
parent 3faa988eb8
commit 11d0083e95
2 changed files with 1 additions and 3 deletions

View File

@ -88,7 +88,7 @@ module Projects
def after_create_actions
log_info("#{@project.owner.name} created a new project \"#{@project.name_with_namespace}\"")
unless @project.gitlab_project_import?
if !@project.gitlab_project_import? || @skip_import
@project.create_wiki unless skip_wiki?
create_services_from_active_templates(@project)

View File

@ -77,8 +77,6 @@ module Gitlab
if bare_repo.wiki_exists?
FileUtils.mv(wiki_path, File.join(project.repository_storage_path, project.disk_path + '.wiki.git'))
else
project.create_wiki
end
true