mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Remove unused methods
This commit is contained in:
parent
c83155015e
commit
d346d9c87b
2 changed files with 0 additions and 8 deletions
|
@ -10,10 +10,6 @@ class BlockedDomain < ActiveRecord::Base
|
|||
def by_domain name
|
||||
where(name: name)
|
||||
end
|
||||
|
||||
def any_of_domains names
|
||||
where(name: names)
|
||||
end
|
||||
end
|
||||
|
||||
def name= val
|
||||
|
|
|
@ -19,10 +19,6 @@ class ReservedDomain < ActiveRecord::Base
|
|||
where(name: name)
|
||||
end
|
||||
|
||||
def any_of_domains names
|
||||
where(name: names)
|
||||
end
|
||||
|
||||
def new_password_for name
|
||||
record = by_domain(name).first
|
||||
return unless record
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue