mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +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
|
provider = Auth::AuthProvider.new
|
||||||
|
|
||||||
Auth::AuthProvider.auth_attributes.each do |sym|
|
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
|
end
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
Reference in New Issue
Block a user