fix missing create services call
This commit is contained in:
parent
3faa988eb8
commit
11d0083e95
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue