summaryrefslogtreecommitdiff
path: root/plugins/Import/src/miranda.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Import/src/miranda.cpp')
-rw-r--r--plugins/Import/src/miranda.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Import/src/miranda.cpp b/plugins/Import/src/miranda.cpp
index 9a517d341c..c56d1b5557 100644
--- a/plugins/Import/src/miranda.cpp
+++ b/plugins/Import/src/miranda.cpp
@@ -268,7 +268,7 @@ CMirandaAdvOptionsPageDlg::CMirandaAdvOptionsPageDlg() :
bool CMirandaAdvOptionsPageDlg::OnInitDialog()
{
- dwSinceDate = db_get_dw(NULL, IMPORT_MODULE, "ImportSinceTS", time(0));
+ dwSinceDate = g_plugin.getDword("ImportSinceTS", time(0));
struct tm *TM = localtime(&dwSinceDate);
struct _SYSTEMTIME ST = { 0 };
@@ -329,7 +329,7 @@ void CMirandaAdvOptionsPageDlg::OnNext()
dwSinceDate = mktime(&TM);
- db_set_dw(NULL, IMPORT_MODULE, "ImportSinceTS", dwSinceDate);
+ g_plugin.setDword("ImportSinceTS", dwSinceDate);
}
}