mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Story #109367694 - remove dead code, unused since 30.1.15
This commit is contained in:
parent
5aa0ae6423
commit
026c50b3ec
1 changed files with 0 additions and 19 deletions
|
@ -13,23 +13,4 @@ module UserEvents
|
|||
end
|
||||
end
|
||||
|
||||
# TODO: remove old
|
||||
# module ClassMethods
|
||||
# def registrar_events(id)
|
||||
# registrar = Registrar.find(id)
|
||||
# return [] unless registrar
|
||||
# @events = []
|
||||
# registrar.users.each { |user| @events << user_events(user.id) }
|
||||
# registrar.epp_users.each { |user| @events << epp_user_events(user.id) }
|
||||
# @events
|
||||
# end
|
||||
|
||||
# def user_events(id)
|
||||
# where(whodunnit: id.to_s)
|
||||
# end
|
||||
|
||||
# def epp_user_events(id)
|
||||
# where(whodunnit: "#{id}-EppUser")
|
||||
# end
|
||||
# end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue