Skip to content

Commit 4742a00

Browse files
committed
Setting.default_projects_public=0
1 parent 0c2ade7 commit 4742a00

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/redmine/default_data/loader.rb

+4
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ def load(lang=nil, options={})
166166
support.id.to_s
167167
]
168168

169+
# set new project as private
170+
# もし環境変数 が private だったら
171+
Setting.default_projects_public = 0
172+
169173
if workflow
170174
# Workflow
171175
Tracker.all.each do |t|

0 commit comments

Comments
 (0)