From 53fe3e46177d17b4941610de19f5cc6210700cb4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Nov 2018 21:44:56 +0300 Subject: db_* functions replaced with g_plugin calls --- plugins/AvatarHistory/src/options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/AvatarHistory/src/options.cpp') diff --git a/plugins/AvatarHistory/src/options.cpp b/plugins/AvatarHistory/src/options.cpp index 3ea17f3fff..900bdf1c7a 100644 --- a/plugins/AvatarHistory/src/options.cpp +++ b/plugins/AvatarHistory/src/options.cpp @@ -170,7 +170,7 @@ void LoadOptions() LoadOpts(optionsControls, _countof(optionsControls), MODULENAME); LoadOpts(popupsControls, _countof(popupsControls), MODULENAME); - opts.log_per_contact_folders = db_get_b(NULL, MODULENAME, "LogPerContactFolders", 0); - opts.log_keep_same_folder = db_get_b(NULL, MODULENAME, "LogKeepSameFolder", 0); - opts.log_store_as_hash = db_get_b(NULL, MODULENAME, "StoreAsHash", 1); + opts.log_per_contact_folders = g_plugin.getByte("LogPerContactFolders", 0); + opts.log_keep_same_folder = g_plugin.getByte("LogKeepSameFolder", 0); + opts.log_store_as_hash = g_plugin.getByte("StoreAsHash", 1); } -- cgit v1.2.3