2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

DEV: Prevent deprecation warnings being incorrectly logged

This commit is contained in:
David Taylor 2018-12-31 14:41:30 +00:00
parent 27ed60bad0
commit 23c65feb6c

View file

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