21 lines
656 B
Ruby
21 lines
656 B
Ruby
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
class SettingAddSystemBcc < ActiveRecord::Migration[5.1]
|
|
def up
|
|
|
|
# return if it's a new setup
|
|
return if !Setting.exists?(name: 'system_init_done')
|
|
|
|
Setting.create_if_not_exists(
|
|
title: 'Bcc address for all outgoing emails',
|
|
name: 'system_bcc',
|
|
area: 'Email::Enhanced',
|
|
description: 'To archive all outgoing emails from Zammad to external, you can store a bcc email address here.',
|
|
options: {},
|
|
state: '',
|
|
preferences: { online_service_disable: true },
|
|
frontend: false
|
|
)
|
|
end
|
|
|
|
end
|