mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 22:54:47 +02:00
Remove unused code
This commit is contained in:
parent
2a13324c19
commit
b2e66aa90a
1 changed files with 0 additions and 4 deletions
|
@ -16,10 +16,6 @@ class Registrar
|
|||
search_params[:registrant_domains_id_not_null] = 1
|
||||
end
|
||||
|
||||
if search_params.length == 1 && search_params[:name_matches].present?
|
||||
@contacts = Contact.find_by(name: search_params[:name_matches])
|
||||
end
|
||||
|
||||
if params[:statuses_contains]
|
||||
contacts = current_registrar_user.registrar.contacts.includes(:registrar).where(
|
||||
"contacts.statuses @> ?::varchar[]", "{#{params[:statuses_contains].join(',')}}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue