From cb0ba8d4bb60cba8085bf9df7149bc4da4603afa Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 10 Jul 2021 07:28:33 +0000
Subject: [PATCH] Remove RF312 -> RF316 remapping

---
 lib/TramTypes.php |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/lib/TramTypes.php b/lib/TramTypes.php
index e19f7ed..e1cb718 100644
--- a/lib/TramTypes.php
+++ b/lib/TramTypes.php
@@ -25,8 +25,8 @@
 207	208	HZ	105N	0
 209	245	RZ	105N	0
 246	299	HZ	105N	0
-301	306	RF	GT8S	0
-307	309	RF	GT8N	1
+301	304	RF	GT8S	0
+305	309	RF	GT8N	1
 310	311	RF	GT8C	1
 312	312	RF	GT8N	1
 313	313	RF	GT8C	1
@@ -40,7 +40,7 @@
 627	650	RP	NGT6 (3)	2
 801	824	RY	NGT8	2
 825	839	RY	Stadler Tango	2
-840	859	HY	Stadler Tango	2
+840	874	HY	Stadler Tango	2
 899	899	RY	126N	2
 901	914	RG	2014N	2
 915	936	HG	2014N	2
@@ -50,9 +50,6 @@
 	}
 	
 	public function getByNumber($id) {
-		if($id == 312) {
-			$id = 316;
-		}
 		return parent::getByNumber($id);
 	}
 }

--
Gitblit v1.9.1