From 6d4ca071a5cefc756f734e57a7799b80ff037ddb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 29 Aug 2012 18:55:49 +0200 Subject: dbUtils.h: eliminate this header --- src/PlaylistCommands.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/PlaylistCommands.cxx') diff --git a/src/PlaylistCommands.cxx b/src/PlaylistCommands.cxx index aa2e8654..d74036ec 100644 --- a/src/PlaylistCommands.cxx +++ b/src/PlaylistCommands.cxx @@ -19,6 +19,7 @@ #include "config.h" #include "PlaylistCommands.hxx" +#include "DatabasePlaylist.hxx" #include "CommandError.h" extern "C" { @@ -32,7 +33,6 @@ extern "C" { #include "ls.h" #include "uri.h" #include "stored_playlist.h" -#include "dbUtils.h" #include "client_internal.h" } @@ -201,7 +201,8 @@ handle_playlistadd(struct client *client, G_GNUC_UNUSED int argc, char *argv[]) success = spl_append_uri(argv[1], playlist, &error); } else - success = addAllInToStoredPlaylist(uri, playlist, &error); + success = search_add_to_playlist(uri, playlist, nullptr, + &error); if (!success && error == NULL) { command_error(client, ACK_ERROR_NO_EXIST, -- cgit v1.2.3