Commit 501f1e6d authored by Max Kellermann's avatar Max Kellermann

PlaylistSong: remove the IsInDatabase() check

No caller passes a database song to this function, but if he does, this check doesn't make sense.
parent 414d5b64
......@@ -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)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment