summaryrefslogtreecommitdiff
path: root/src/modules/database/dbintf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/database/dbintf.cpp')
-rw-r--r--src/modules/database/dbintf.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/modules/database/dbintf.cpp b/src/modules/database/dbintf.cpp
index 58b86606b6..14e02c7430 100644
--- a/src/modules/database/dbintf.cpp
+++ b/src/modules/database/dbintf.cpp
@@ -145,8 +145,6 @@ static INT_PTR srvDestroyInstance(WPARAM wParam,LPARAM lParam)
int LoadDbintfModule()
{
- CreateServiceFunction(MS_DB_SETSAFETYMODE, srvSetSafetyMode);
-
CreateServiceFunction(MS_DB_CONTACT_GETCOUNT, srvGetContactCount);
CreateServiceFunction(MS_DB_CONTACT_DELETE, srvDeleteContact);
CreateServiceFunction(MS_DB_CONTACT_ADD, srvAddContact);
@@ -166,3 +164,8 @@ int LoadDbintfModule()
CreateServiceFunction(MS_DB_DESTROY_INSTANCE, srvDestroyInstance);
return 0;
}
+
+void LoadDatabaseServices()
+{
+ CreateServiceFunction(MS_DB_SETSAFETYMODE, srvSetSafetyMode);
+}