diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-06 12:29:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-06 12:29:10 +0000 |
commit | f47f0588198969e731e7a891c10de5b4627742cb (patch) | |
tree | 5f69d26900febc4b86bb9f9669743657af8505c8 /protocols/Yahoo/src/options.cpp | |
parent | d59bd1a4e5cdb03de7ae785411ba2a7f08b72999 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2994 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/options.cpp')
-rw-r--r-- | protocols/Yahoo/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Yahoo/src/options.cpp b/protocols/Yahoo/src/options.cpp index f377fa6fdd..08b5cbcfda 100644 --- a/protocols/Yahoo/src/options.cpp +++ b/protocols/Yahoo/src/options.cpp @@ -123,7 +123,7 @@ static INT_PTR CALLBACK DlgProcYahooOpts(HWND hwndDlg, UINT msg, WPARAM wParam, if (str[0] == '\0') {
/* Check for empty Nick, if so delete the key in the DB */
- DBDeleteContactSetting( NULL, ppro->m_szModuleName, "Nick");
+ db_unset( NULL, ppro->m_szModuleName, "Nick");
} else {
/* otherwise save the new Nick */
ppro->SetString("Nick", str );
@@ -137,7 +137,7 @@ static INT_PTR CALLBACK DlgProcYahooOpts(HWND hwndDlg, UINT msg, WPARAM wParam, ppro->SetByte("ShowErrors", ( BYTE )IsDlgButtonChecked( hwndDlg, IDC_SHOW_ERRORS ));
if (reconnectRequired ) {
- DBDeleteContactSetting(NULL, ppro->m_szModuleName, YAHOO_PWTOKEN);
+ db_unset(NULL, ppro->m_szModuleName, YAHOO_PWTOKEN);
}
/*if ( restartRequired )
|