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
|
end
|
||||||
|
|
||||||
def self.diff_loop
|
def self.diff_loop
|
||||||
|
return if !Setting.get('import_mode')
|
||||||
while true
|
while true
|
||||||
self.diff
|
self.diff
|
||||||
sleep 30
|
sleep 30
|
||||||
|
|
Loading…
Reference in a new issue