Wiki auto creation temporary disabled until project wiki copy is fixed (2 wikis created).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2967 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 15 years ago
parent 5b787785b4
commit 9f12a14382
  1. 2
      app/models/enabled_module.rb

@ -31,7 +31,7 @@ class EnabledModule < ActiveRecord::Base
when 'wiki'
# Create a wiki with a default start page
if project && project.wiki.nil?
Wiki.create(:project => project, :start_page => 'Wiki')
#Wiki.create(:project => project, :start_page => 'Wiki')
end
end
end

Loading…
Cancel
Save