summaryrefslogtreecommitdiff
path: root/src/modules/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/database')
-rw-r--r--src/modules/database/dbini.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/database/dbini.cpp b/src/modules/database/dbini.cpp
index 8ccf5af4d5..6b56ad2f9a 100644
--- a/src/modules/database/dbini.cpp
+++ b/src/modules/database/dbini.cpp
@@ -274,10 +274,7 @@ static void ProcessIniFile(TCHAR* szIniPath, char *szSafeSections, char *szUnsaf
while (setting_items) {
SettingsList *next = setting_items->next;
- DBCONTACTGETSETTING dbcgs;
- dbcgs.szModule = szSection;
- dbcgs.szSetting = setting_items->name;
- CallService(MS_DB_CONTACT_DELETESETTING, 0, (LPARAM)&dbcgs);
+ db_unset(NULL, szSection, setting_items->name);
mir_free(setting_items->name);
mir_free(setting_items);