PlaylistSong: remove the IsInDatabase() check
No caller passes a database song to this function, but if he does, this check doesn't make sense.
This commit is contained in:
@@ -99,10 +99,6 @@ DetachedSong *
|
||||
playlist_check_translate_song(DetachedSong *song, const char *base_uri,
|
||||
bool secure)
|
||||
{
|
||||
if (song->IsInDatabase())
|
||||
/* already ok */
|
||||
return song;
|
||||
|
||||
const char *uri = song->GetURI();
|
||||
|
||||
if (uri_has_scheme(uri)) {
|
||||
|
Reference in New Issue
Block a user