]> git.0d.be Git - empathy.git/blobdiff - src/empathy-auto-salut-account-helper.c
Updated Polish translation
[empathy.git] / src / empathy-auto-salut-account-helper.c
index ad4d6cbc0eec3c14520921e87040e971b62af6d1..37aedb325111d50930b70de10236b87c4d8ad2e5 100644 (file)
@@ -42,17 +42,6 @@ should_create_salut_account (TpAccountManager *manager)
   gboolean salut_created = FALSE;
   GList *accounts, *l;
 
-  /* Check if we already created a salut account */
-  empathy_conf_get_bool (empathy_conf_get (),
-      EMPATHY_PREFS_SALUT_ACCOUNT_CREATED,
-      &salut_created);
-
-  if (salut_created)
-    {
-      DEBUG ("Gconf says we already created a salut account once");
-      return FALSE;
-    }
-
   accounts = tp_account_manager_get_valid_accounts (manager);
 
   for (l = accounts; l != NULL;  l = g_list_next (l))
@@ -68,14 +57,6 @@ should_create_salut_account (TpAccountManager *manager)
 
   g_list_free (accounts);
 
-  if (salut_created)
-    {
-      DEBUG ("Existing salut account already exists, flagging so in gconf");
-      empathy_conf_set_bool (empathy_conf_get (),
-          EMPATHY_PREFS_SALUT_ACCOUNT_CREATED,
-          TRUE);
-    }
-
   return !salut_created;
 }