Commit 11d0083e authored by James Lopez's avatar James Lopez

fix missing create services call

parent 3faa988e
......@@ -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)
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment