Do not import tickets if import_otrs_endpoint is not configured.

This commit is contained in:
Martin Edenhofer 2013-03-10 17:45:48 +01:00
parent 1c3fd7f38b
commit 8245109197

View file

@ -124,6 +124,7 @@ module Import::OTRS
def self.diff_loop
return if !Setting.get('import_mode')
return if Setting.get('import_otrs_endpoint') == 'http://otrs_host/otrs'
while true
self.diff
sleep 30