mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
yweb: remove delivery_system from boxtype tank
and avoid duplicate code
Origin commit data
------------------
Commit: 99b477207f
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-09-20 (Fri, 20 Sep 2013)
Origin message was:
------------------
- yweb: remove delivery_system from boxtype tank
and avoid duplicate code
This commit is contained in:
@@ -729,7 +729,8 @@ std::string CNeutrinoYParser::func_get_boxtype(CyhookHandler *, std::string)
|
||||
break;
|
||||
}
|
||||
|
||||
boxname += (g_info.delivery_system == DVB_S || (system_rev == 1)) ? " SAT":" CABLE";
|
||||
if (system_rev != 9) // don't add delivery_system for Tank
|
||||
boxname += (g_info.delivery_system == DVB_S || (system_rev == 1)) ? " SAT":" CABLE";
|
||||
return boxname;
|
||||
}
|
||||
//-------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user