mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- webtv-setup: remove useless check in webchannels_autodir() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -400,8 +400,7 @@ bool CWebTVSetup::webchannels_autodir(std::string directory)
|
|||||||
if (webradio)
|
if (webradio)
|
||||||
{
|
{
|
||||||
if (
|
if (
|
||||||
(directory.empty())
|
(directory.find(WEBRADIODIR) != std::string::npos)
|
||||||
|| (directory.find(WEBRADIODIR) != std::string::npos)
|
|
||||||
|| (directory.find(WEBRADIODIR_VAR) != std::string::npos)
|
|| (directory.find(WEBRADIODIR_VAR) != std::string::npos)
|
||||||
)
|
)
|
||||||
return true;
|
return true;
|
||||||
@@ -409,8 +408,7 @@ bool CWebTVSetup::webchannels_autodir(std::string directory)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (
|
if (
|
||||||
(directory.empty())
|
(directory.find(WEBTVDIR) != std::string::npos)
|
||||||
|| (directory.find(WEBTVDIR) != std::string::npos)
|
|
||||||
|| (directory.find(WEBTVDIR_VAR) != std::string::npos)
|
|| (directory.find(WEBTVDIR_VAR) != std::string::npos)
|
||||||
)
|
)
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user