From bb6907fe8592692618dff65ff57021f924f40825 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 31 Dec 2019 20:26:03 +0000
Subject: [PATCH] Remove tram mapping from 250 to 410

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

diff --git a/lib/TramTypes.php b/lib/TramTypes.php
index 46fe8f2..9dd4925 100644
--- a/lib/TramTypes.php
+++ b/lib/TramTypes.php
@@ -24,10 +24,10 @@
 201	245	RZ	105N	0
 246	299	HZ	105N	0
 301	310	RF	GT8S	0
-311	311	RF	GT8N	1
-312	312	RF	GT8S	0
+311	312	RF	GT8N	1
 313	313	RF	GT8C	1
-314	316	RF	GT8S	0
+314	315	RF	GT8N	1
+316	316	RF	GT8S	0
 317	329	RF	GT8N	1
 401	440	HL	EU8N	1
 451	456	HK	N8C-NF	1
@@ -43,12 +43,5 @@
 999	999	HG	405N	1
 END;
 		parent::__construct($data);
-	}
-	
-	public function getByNumber($id) {
-		if((int)$id == 250) {
-			$id = 410;
-		}
-		return parent::getByNumber($id);
 	}
 }

--
Gitblit v1.9.1