mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
Revert "Revert "- remove obsolete ifdef's""
This reverts commit7aa4eed69b
. Origin commit data ------------------ Commit:3c3707b119
Author: vanhofen <vanhofen@gmx.de> Date: 2017-05-08 (Mon, 08 May 2017)
This commit is contained in:
@@ -141,9 +141,7 @@ void CFlashUpdate::update_php(std::string &url, const char* type)
|
||||
if (url.find("update.php") != std::string::npos)
|
||||
{
|
||||
url += "?revision=" + to_string(cs_get_revision());
|
||||
#ifdef BOXMODEL_CS_HD2
|
||||
url += "&chip_type=" + to_string(cs_get_chip_type());
|
||||
#endif
|
||||
url += "&image_type=" + (std::string)type;
|
||||
printf("[update_php] url %s\n", url.c_str());
|
||||
}
|
||||
|
Reference in New Issue
Block a user