Do not import tickets if import_otrs_endpoint is not configured.
This commit is contained in:
parent
1c3fd7f38b
commit
8245109197
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue