Emails should not get checked in import mode to provide the most complete data state.

This commit is contained in:
Thorsten Eckel 2016-12-06 10:09:57 +01:00
parent 2327b911a1
commit ba88e14001

View file

@ -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