Just import if import mode is enabled.

This commit is contained in:
Martin Edenhofer 2013-03-05 07:45:14 +01:00
parent 051c8136d2
commit e96bfdd803

View file

@ -123,6 +123,7 @@ module Import::OTRS
end
def self.diff_loop
return if !Setting.get('import_mode')
while true
self.diff
sleep 30