From 95f2b04564ec49cd240eb2454f58e35d3e64f458 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 7 May 2015 14:34:25 +0200 Subject: [PATCH] Removed unneeded space. --- app/models/channel.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/channel.rb b/app/models/channel.rb index 08b0c1ed4..c97236be1 100644 --- a/app/models/channel.rb +++ b/app/models/channel.rb @@ -7,7 +7,7 @@ class Channel < ApplicationModel channels = Channel.where( 'active = ? AND area LIKE ?', true, '%::Inbound' ) channels.each { |channel| begin - c = eval 'Channel::' + channel[:adapter].upcase + '.new' # rubocop:disable Lint/Eval + c = eval 'Channel::' + channel[:adapter].upcase + '.new' # rubocop:disable Lint/Eval c.fetch(channel) rescue Exception => e logger.error "can't use " + 'Channel::' + channel[:adapter].upcase