From 7856498951111eb33de115db1590a43df6182cde Mon Sep 17 00:00:00 2001 From: chme Date: Sat, 17 Dec 2016 15:43:39 +0100 Subject: [PATCH] [db] Remove unused functions db_files_update_songartistid, db_files_update_songalbumid --- src/db.c | 12 ------------ src/db.h | 6 ------ 2 files changed, 18 deletions(-) diff --git a/src/db.c b/src/db.c index 5ff3c1b9..784ae209 100644 --- a/src/db.c +++ b/src/db.c @@ -2024,18 +2024,6 @@ db_files_get_count_bymatch(char *path) #undef Q_TMPL } -void -db_files_update_songartistid(void) -{ - db_query_run("UPDATE files SET songartistid = daap_songalbumid(LOWER(album_artist), '');", 0, 1); -} - -void -db_files_update_songalbumid(void) -{ - db_query_run("UPDATE files SET songalbumid = daap_songalbumid(LOWER(album_artist), LOWER(album));", 0, 1); -} - void db_file_inc_playcount(int id) { diff --git a/src/db.h b/src/db.h index ca99fd15..ab0e53a5 100644 --- a/src/db.h +++ b/src/db.h @@ -498,12 +498,6 @@ db_files_get_album_count(void); int db_files_get_count_bymatch(char *path); -void -db_files_update_songartistid(void); - -void -db_files_update_songalbumid(void); - void db_file_inc_playcount(int id);