diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/directory.c | 18 | ||||
-rw-r--r-- | src/directory.h | 2 |
2 files changed, 0 insertions, 20 deletions
diff --git a/src/directory.c b/src/directory.c index dbf578857..404afd1a9 100644 --- a/src/directory.c +++ b/src/directory.c @@ -1146,24 +1146,6 @@ int readDirectoryDB(void) return 0; } -void updateMp3Directory(void) -{ - switch (updateDirectory(mp3rootDirectory)) { - case 0: - /* nothing updated */ - return; - case 1: - if (writeDirectoryDB() < 0) - exit(EXIT_FAILURE); - break; - default: - /* something was updated and db should be written */ - FATAL("problems updating music db\n"); - } - - return; -} - static int traverseAllInSubDirectory(Directory * directory, int (*forEachSong) (Song *, void *), int (*forEachDir) (Directory *, void *), diff --git a/src/directory.h b/src/directory.h index 9553095b3..e881f7a04 100644 --- a/src/directory.h +++ b/src/directory.h @@ -55,8 +55,6 @@ int writeDirectoryDB(void); int readDirectoryDB(void); -void updateMp3Directory(void); - Song *getSongFromDB(const char *file); time_t getDbModTime(void); |