Skip to content

Commit f7ac11b

Browse files
matobaaRedmine Patch Meetup
authored and
Redmine Patch Meetup
committed
Setting.default_projects_public=0
1 parent b288f1c commit f7ac11b

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)