Maintenance: Applied rubocop changes.

This commit is contained in:
Martin Gruner 2022-01-03 10:50:12 +01:00
parent a7f312bec7
commit 0a0e77dab8
2 changed files with 3 additions and 5 deletions

View file

@ -1,14 +1,14 @@
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/ # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
class MaintenanceImproveSipgateIntegrationHandling < ActiveRecord::Migration[6.0] class MaintenanceImproveSipgateIntegrationHandling < ActiveRecord::Migration[6.0]
def change def change
return if !Setting.exists?(name: 'system_init_done') return if !Setting.exists?(name: 'system_init_done')
Setting.create_if_not_exists( Setting.create_if_not_exists(
title: __('sipgate.io Token'), title: 'sipgate.io Token',
name: 'sipgate_token', name: 'sipgate_token',
area: 'Integration::Sipgate', area: 'Integration::Sipgate',
description: __('Token for Sipgate.'), description: 'Token for Sipgate.',
options: { options: {
form: [ form: [
{ {

View file

@ -9492,7 +9492,6 @@ msgstr ""
msgid "Token for CTI." msgid "Token for CTI."
msgstr "" msgstr ""
#: db/migrate/20211118081558_maintenance_improve_sipgate_integration_handling.rb
#: db/seeds/settings.rb #: db/seeds/settings.rb
msgid "Token for Sipgate." msgid "Token for Sipgate."
msgstr "" msgstr ""
@ -11346,7 +11345,6 @@ msgstr ""
msgid "show more" msgid "show more"
msgstr "" msgstr ""
#: db/migrate/20211118081558_maintenance_improve_sipgate_integration_handling.rb
#: db/seeds/settings.rb #: db/seeds/settings.rb
msgid "sipgate.io Token" msgid "sipgate.io Token"
msgstr "" msgstr ""