change uniq to distinct for SQL queries to fix deprecation
This commit is contained in:
parent
2180e6197c
commit
ba9d19c832
9 changed files with 9 additions and 9 deletions
|
|
@ -18,7 +18,7 @@ module UsersHelper
|
|||
providers << provider if !ENV["OSEM_#{provider.upcase}_KEY"].blank? && !ENV["OSEM_#{provider.upcase}_SECRET"].blank?
|
||||
end
|
||||
|
||||
providers.uniq
|
||||
providers.distinct
|
||||
end
|
||||
|
||||
# Receives a hash, generated from User model, function get_roles
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue