From 6e1dac584a72cb048fa1314fabb24df9411796f2 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Fri, 30 Jul 2021 14:49:33 +0000
Subject: [PATCH] Change tram types: RF304 -> GT8N, RF312 -> GT8C

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

diff --git a/lib/TramTypes.php b/lib/TramTypes.php
index 72186da..4d76975 100644
--- a/lib/TramTypes.php
+++ b/lib/TramTypes.php
@@ -25,11 +25,9 @@
 207	208	HZ	105N	0
 209	245	RZ	105N	0
 246	299	HZ	105N	0
-301	305	RF	GT8S	0
-306	309	RF	GT8N	1
-310	311	RF	GT8C	1
-312	312	RF	GT8N	1
-313	313	RF	GT8C	1
+301	302	RF	GT8S	0
+304	309	RF	GT8N	1
+310	313	RF	GT8C	1
 314	329	RF	GT8N	1
 401	440	HL	EU8N	1
 451	456	HK	N8C-NF	1
@@ -50,9 +48,6 @@
 	}
 	
 	public function getByNumber($id) {
-		if($id == 312) {
-			$id = 316;
-		}
 		return parent::getByNumber($id);
 	}
 }

--
Gitblit v1.9.1