summaryrefslogtreecommitdiff
path: root/plugins/PackUpdater/src/Options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-01 21:15:42 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-01 21:15:42 +0000
commit30fcf9ef16d99490b936791ca58997920e0ea98f (patch)
tree52373118fbd6fda7f4f4b7a5138e541606e1d18b /plugins/PackUpdater/src/Options.cpp
parentb971553a47137a78d044ad05e10764945de63620 (diff)
UpdateURL setting removed from the interface
git-svn-id: http://svn.miranda-ng.org/main/trunk@1317 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PackUpdater/src/Options.cpp')
-rw-r--r--plugins/PackUpdater/src/Options.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/PackUpdater/src/Options.cpp b/plugins/PackUpdater/src/Options.cpp
index 9e09732ee6..1966aceb49 100644
--- a/plugins/PackUpdater/src/Options.cpp
+++ b/plugins/PackUpdater/src/Options.cpp
@@ -70,19 +70,6 @@ INT_PTR CALLBACK UpdateNotifyOptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
CheckDlgButton(hwndDlg, (i+1029), (DBGetContactSettingByte(NULL, MODNAME, str, DEFAULT_MESSAGE_ENABLED)) ? BST_CHECKED: BST_UNCHECKED);
}
}
-
- {
- DBVARIANT dbVar;
- if ( !DBGetContactSettingTString(NULL, MODNAME, "UpdateURL", &dbVar)) {
- SetDlgItemText(hwndDlg, IDC_UPDATE_URL, dbVar.ptszVal);
- DBFreeVariant(&dbVar);
- }
- else {
- std::tstring url = _T(DEFAULT_UPDATE_URL); url.append( _T("hashes.txt"));
- SetDlgItemText(hwndDlg, IDC_UPDATE_URL, url.c_str());
- DBWriteContactSettingTString(NULL, MODNAME, "UpdateURL", _T(DEFAULT_UPDATE_URL));
- }
- }
return TRUE;
case WM_COMMAND:
@@ -129,7 +116,6 @@ INT_PTR CALLBACK UpdateNotifyOptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
case IDC_ERRORS2:
case IDC_INFO_MESSAGES2:
case IDC_PROGR_DLG2:
- case IDC_UPDATE_URL:
if ((HIWORD(wParam) == BN_CLICKED || HIWORD(wParam) == EN_CHANGE) && (HWND)lParam == GetFocus())
SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
break;
@@ -169,10 +155,6 @@ INT_PTR CALLBACK UpdateNotifyOptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
DBWriteContactSettingByte(NULL, MODNAME, str, (BYTE)(IsDlgButtonChecked(hwndDlg, (i+1029))));
}
}
-
- TCHAR buf[MAX_PATH];
- GetDlgItemText(hwndDlg, IDC_UPDATE_URL, buf, SIZEOF(buf));
- DBWriteContactSettingTString(NULL, MODNAME, "UpdateURL", buf);
}
break;
}