mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Remove useless assignment
This commit is contained in:
@@ -89,9 +89,9 @@ module Permissions
|
||||
|
||||
def apply_where_clause(query)
|
||||
if ENV['DEPENDENCIES_NEXT']
|
||||
query = query.where_clause.__send__(:predicates)
|
||||
query.where_clause.__send__(:predicates)
|
||||
else
|
||||
query = query.where_values
|
||||
query.where_values
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user