mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
webtv-setup: remove useless check in webchannels_autodir() function
Origin commit data
------------------
Branch: ni/coolstream
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
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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