diff --git a/app/models/avatar.rb b/app/models/avatar.rb index 27e962517..bf973757c 100644 --- a/app/models/avatar.rb +++ b/app/models/avatar.rb @@ -19,6 +19,10 @@ add a avatar based on auto detection (email address) =end def self.auto_detection(data) + + # return if we run import mode + return if Setting.get('import_mode') + return if !data[:url] return if data[:url].empty?