From 18d5cec602cd247fe763d810becdbe9626fa3232 Mon Sep 17 00:00:00 2001 From: Zog Date: Tue, 20 Feb 2018 09:28:22 +0100 Subject: Refs #5924; Remove `local_id` methods --- app/models/chouette/company.rb | 2 -- app/models/chouette/line.rb | 2 -- 2 files changed, 4 deletions(-) diff --git a/app/models/chouette/company.rb b/app/models/chouette/company.rb index 2e942d520..53e412600 100644 --- a/app/models/chouette/company.rb +++ b/app/models/chouette/company.rb @@ -15,7 +15,5 @@ module Chouette [:organizational_unit, :operating_department_name, :code, :phone, :fax, :email, :url, :time_zone] end - def local_id; id end - end end diff --git a/app/models/chouette/line.rb b/app/models/chouette/line.rb index 5df45efbd..d077d5c9d 100644 --- a/app/models/chouette/line.rb +++ b/app/models/chouette/line.rb @@ -49,8 +49,6 @@ module Chouette [:published_name, :number, :comment, :url, :color, :text_color, :stable_id] end - def local_id; registration_number || id end - def geometry_presenter Chouette::Geometry::LinePresenter.new self end -- cgit v1.2.3