mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 10:45:58 +02:00
Remove dead code
This commit is contained in:
parent
be79ccacff
commit
27976c3fbd
1 changed files with 0 additions and 7 deletions
|
@ -47,13 +47,6 @@ class ApiUser < User
|
|||
end
|
||||
|
||||
class << self
|
||||
def find_by_idc_data(idc_data)
|
||||
return false if idc_data.blank?
|
||||
identity_code = idc_data.scan(/serialNumber=(\d+)/).flatten.first
|
||||
|
||||
find_by(identity_code: identity_code)
|
||||
end
|
||||
|
||||
def find_by_idc_data_and_allowed(idc_data, ip)
|
||||
return false if idc_data.blank?
|
||||
identity_code = idc_data.scan(/serialNumber=(\d+)/).flatten.first
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue