From ba88e140015e87c5e4df3b685d52e20db6466aa0 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 6 Dec 2016 10:09:57 +0100 Subject: [PATCH] Emails should not get checked in import mode to provide the most complete data state. --- app/models/user.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/user.rb b/app/models/user.rb index cd87c04e3..ea087ed83 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -786,6 +786,7 @@ returns end def check_email + return if Setting.get('import_mode') return if email.empty? self.email = email.downcase.strip return if id == 1