mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
webtv-setup: remove useless check in webchannels_autodir() function
Origin commit data
------------------
Commit: e0246f3bfb
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-09-25 (Tue, 25 Sep 2018)
Origin message was:
------------------
- webtv-setup: remove useless check in webchannels_autodir() function
This commit is contained in:
@@ -400,8 +400,7 @@ bool CWebTVSetup::webchannels_autodir(std::string directory)
|
||||
if (webradio)
|
||||
{
|
||||
if (
|
||||
(directory.empty())
|
||||
|| (directory.find(WEBRADIODIR) != std::string::npos)
|
||||
(directory.find(WEBRADIODIR) != std::string::npos)
|
||||
|| (directory.find(WEBRADIODIR_VAR) != std::string::npos)
|
||||
)
|
||||
return true;
|
||||
@@ -409,8 +408,7 @@ bool CWebTVSetup::webchannels_autodir(std::string directory)
|
||||
else
|
||||
{
|
||||
if (
|
||||
(directory.empty())
|
||||
|| (directory.find(WEBTVDIR) != std::string::npos)
|
||||
(directory.find(WEBTVDIR) != std::string::npos)
|
||||
|| (directory.find(WEBTVDIR_VAR) != std::string::npos)
|
||||
)
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user