Just import if import mode is enabled.
This commit is contained in:
parent
051c8136d2
commit
e96bfdd803
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ module Import::OTRS
|
|||
end
|
||||
|
||||
def self.diff_loop
|
||||
return if !Setting.get('import_mode')
|
||||
while true
|
||||
self.diff
|
||||
sleep 30
|
||||
|
|
Loading…
Reference in a new issue