* commented out the overwrite checks in modest_account_mgr_add_server_account and...
authorArne Zellentin <arne@kernelconcepts.de>
Thu, 25 May 2006 18:32:32 +0000 (18:32 +0000)
committerArne Zellentin <arne@kernelconcepts.de>
Thu, 25 May 2006 18:32:32 +0000 (18:32 +0000)
pmo-trunk-r113

src/modest-account-mgr.c

index 1b80f24..c5dfd8c 100644 (file)
@@ -214,8 +214,8 @@ modest_account_mgr_add_server_account    (ModestAccountMgr *self,
 
        if (modest_conf_key_exists(priv->modest_conf, acckey, NULL)) {
                g_warning ("server account %s already exists", name);
-               g_free (acckey);
-               return FALSE;
+               //g_free (acckey);
+               //return FALSE;
        }
 
        /* hostname */
@@ -334,8 +334,8 @@ modest_account_mgr_add_identity (ModestAccountMgr *self,
 
        if (modest_conf_key_exists(priv->modest_conf, id_key, NULL)) {
                g_warning ("identity %s already exists", name);
-               g_free (id_key);
-               return FALSE;
+               //g_free (id_key);
+               //return FALSE;
        }
 
        /* email */