mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 07:46:17 +01:00
Change the default notification option from only_my_events to only_assigned (#39500).
Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22512 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -5,9 +5,9 @@ class CreateSettings < ActiveRecord::Migration[4.2]
|
||||
t.column "value", :text
|
||||
end
|
||||
|
||||
# Persist text_formatting default setting for new installations
|
||||
setting = Setting.new(:name => "text_formatting", :value => Setting.text_formatting)
|
||||
setting.save!
|
||||
# Persist default settings for new installations
|
||||
Setting.create!(name: 'default_notification_option', value: Setting.default_notification_option)
|
||||
Setting.create!(name: 'text_formatting', value: Setting.text_formatting)
|
||||
end
|
||||
|
||||
def self.down
|
||||
|
||||
Reference in New Issue
Block a user