Removed unless code.

This commit is contained in:
Martin Edenhofer 2019-04-09 12:18:59 +02:00
parent 668e272cfd
commit 48cccd186b

View file

@ -5,8 +5,6 @@ namespace :zammad do
desc 'Sets all required Settings for performing tests in the CI environment'
task :settings, [:elasticsearch] => :environment do |_task, args|
Setting.set('developer_mode', true)
Setting.set('websocket_port', ENV['WS_PORT'])
Setting.set('fqdn', "#{ENV['IP']}:#{ENV['BROWSER_PORT']}")
Setting.set('chat_agent_idle_timeout', '45')
next if args[:elasticsearch] != 'with_elasticsearch'