diff --git a/lib/import/otrs.rb b/lib/import/otrs.rb index 631a4ffa5..4fd39dc33 100644 --- a/lib/import/otrs.rb +++ b/lib/import/otrs.rb @@ -123,6 +123,7 @@ module Import::OTRS end def self.diff_loop + return if !Setting.get('import_mode') while true self.diff sleep 30