mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:41:25 +08:00
DEV: Prevent deprecation warnings being incorrectly logged
This commit is contained in:
@ -511,7 +511,7 @@ class Plugin::Instance
|
||||
provider = Auth::AuthProvider.new
|
||||
|
||||
Auth::AuthProvider.auth_attributes.each do |sym|
|
||||
provider.send "#{sym}=", opts.delete(sym)
|
||||
provider.send "#{sym}=", opts.delete(sym) if opts.has_key?(sym)
|
||||
end
|
||||
|
||||
begin
|
||||
|
Reference in New Issue
Block a user