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
This commit is contained in:
parent
5b787785b4
commit
9f12a14382
|
@ -31,7 +31,7 @@ class EnabledModule < ActiveRecord::Base
|
||||||
when 'wiki'
|
when 'wiki'
|
||||||
# Create a wiki with a default start page
|
# Create a wiki with a default start page
|
||||||
if project && project.wiki.nil?
|
if project && project.wiki.nil?
|
||||||
Wiki.create(:project => project, :start_page => 'Wiki')
|
#Wiki.create(:project => project, :start_page => 'Wiki')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue