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:
parent
27ed60bad0
commit
23c65feb6c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue