mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 17:52:45 +08:00
DEV: Prevent deprecation warnings being incorrectly logged
This commit is contained in:
parent
27ed60bad0
commit
23c65feb6c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user