summaryrefslogtreecommitdiff
path: root/src/modules/metacontacts/meta_main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-02 20:06:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-02 20:06:10 +0000
commite27f1addc43bdfeb896081ecca5e0b52e9e6179a (patch)
treecafb3b02fbf0f5c2b6085d82af212c05da60a2c7 /src/modules/metacontacts/meta_main.cpp
parent79939e2f78e89f4581cfbcc19818c756ece26ad6 (diff)
current mc state
git-svn-id: http://svn.miranda-ng.org/main/trunk@8362 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_main.cpp')
-rw-r--r--src/modules/metacontacts/meta_main.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/modules/metacontacts/meta_main.cpp b/src/modules/metacontacts/meta_main.cpp
index d802a14db3..0a1efc6d24 100644
--- a/src/modules/metacontacts/meta_main.cpp
+++ b/src/modules/metacontacts/meta_main.cpp
@@ -73,22 +73,6 @@ int LoadMetacontacts(void)
Meta_ReadOptions(&options);
- // sets subcontact handles to metacontacts, and metacontact handles to subcontacts
- // (since these handles are not necessarily the same from run to run of miranda)
-
- // also verifies that subcontacts: have metacontacts, and that contact numbers are reasonable,
- // that metacontacts: have the correct number of subcontacts, and have reasonable defaults
- if (Meta_SetHandles()) {
- // error - db corruption
- if ( !db_get_b(0, META_PROTO, "DisabledMessageShown", 0)) {
- MessageBox(0, TranslateT("Error - Database corruption.\nPlugin disabled."), TranslateT("MetaContacts"), MB_OK | MB_ICONERROR);
- db_set_b(0, META_PROTO, "DisabledMessageShown", 1);
- }
- return 1;
- }
-
- db_unset(0, META_PROTO, "DisabledMessageShown");
-
PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE };
pd.szName = META_FILTER;
pd.type = PROTOTYPE_FILTER;