summaryrefslogtreecommitdiff
path: root/src/mir_app/src/db_intf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app/src/db_intf.cpp')
-rw-r--r--src/mir_app/src/db_intf.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mir_app/src/db_intf.cpp b/src/mir_app/src/db_intf.cpp
index eaab4d9e9b..504bc5bb34 100644
--- a/src/mir_app/src/db_intf.cpp
+++ b/src/mir_app/src/db_intf.cpp
@@ -50,11 +50,6 @@ static INT_PTR srvFindPlugin(WPARAM, LPARAM lParam)
return NULL;
}
-static INT_PTR srvGetCurrentDb(WPARAM, LPARAM)
-{
- return (INT_PTR)currDb;
-}
-
static INT_PTR srvInitInstance(WPARAM, LPARAM lParam)
{
MIDatabase *pDb = (MIDatabase*)lParam;
@@ -80,7 +75,6 @@ int LoadDbintfModule()
{
CreateServiceFunction(MS_DB_REGISTER_PLUGIN, srvRegisterPlugin);
CreateServiceFunction(MS_DB_FIND_PLUGIN, srvFindPlugin);
- CreateServiceFunction(MS_DB_GET_CURRENT, srvGetCurrentDb);
CreateServiceFunction(MS_DB_INIT_INSTANCE, srvInitInstance);
CreateServiceFunction(MS_DB_DESTROY_INSTANCE, srvDestroyInstance);