mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 16:22:20 +08:00
DEV: More send
-> public_send
.
This commit is contained in:
@ -524,7 +524,7 @@ class Plugin::Instance
|
||||
provider = Auth::AuthProvider.new
|
||||
|
||||
Auth::AuthProvider.auth_attributes.each do |sym|
|
||||
provider.send "#{sym}=", opts.delete(sym) if opts.has_key?(sym)
|
||||
provider.public_send("#{sym}=", opts.delete(sym)) if opts.has_key?(sym)
|
||||
end
|
||||
|
||||
begin
|
||||
|
Reference in New Issue
Block a user