Do not lookup avatars on import.
This commit is contained in:
parent
e991dd067b
commit
19bb9415ed
1 changed files with 4 additions and 0 deletions
|
@ -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?
|
||||
|
||||
|
|
Loading…
Reference in a new issue