aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-02-20 09:28:22 +0100
committerJohan Van Ryseghem2018-02-20 09:50:28 +0100
commit18d5cec602cd247fe763d810becdbe9626fa3232 (patch)
treeae7d99a982a035ac0bfef67907b7719868a4019a
parenteb428adf7d5fedf947c00f30bf1f04462f2291e3 (diff)
downloadchouette-core-18d5cec602cd247fe763d810becdbe9626fa3232.tar.bz2
Refs #5924; Remove `local_id` methods
-rw-r--r--app/models/chouette/company.rb2
-rw-r--r--app/models/chouette/line.rb2
2 files changed, 0 insertions, 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