From e96bfdd803b9afa67fdcaf0ef70fb76ceb8f940a Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 5 Mar 2013 07:45:14 +0100 Subject: [PATCH] Just import if import mode is enabled. --- lib/import/otrs.rb | 1 + 1 file changed, 1 insertion(+) 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