aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/DatabaseGlue.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/DatabaseGlue.cxx')
-rw-r--r--src/db/DatabaseGlue.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/db/DatabaseGlue.cxx b/src/db/DatabaseGlue.cxx
index 3734e156c..b8aae5be5 100644
--- a/src/db/DatabaseGlue.cxx
+++ b/src/db/DatabaseGlue.cxx
@@ -104,19 +104,6 @@ db_get_root(void)
return ((SimpleDatabase *)db)->GetRoot();
}
-Directory *
-db_get_directory(const char *name)
-{
- if (db == nullptr)
- return nullptr;
-
- Directory *music_root = db_get_root();
- if (name == nullptr)
- return music_root;
-
- return music_root->LookupDirectory(name);
-}
-
bool
db_save(Error &error)
{