diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2011-03-24 16:09:21 +0000 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2011-04-23 22:00:18 +0100 |
commit | 2d2e1e1096b562c40c1d02a0ecc373287e51b83e (patch) | |
tree | 55ff1c66ebc3f15ee258c2c2708b304da3d54ed5 | |
parent | dd378b72c4bc63567b0ed74d4b319008fbb1c6be (diff) |
Remove unused code from Tpf.PersonaStore
-rw-r--r-- | backends/telepathy/lib/tpf-persona-store.vala | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/backends/telepathy/lib/tpf-persona-store.vala b/backends/telepathy/lib/tpf-persona-store.vala index 9a4685e..c3189c1 100644 --- a/backends/telepathy/lib/tpf-persona-store.vala +++ b/backends/telepathy/lib/tpf-persona-store.vala @@ -1325,8 +1325,6 @@ public class Tpf.PersonaStore : Folks.PersonaStore this._conn, contact_ids, (uint[]) _contact_features); var personas = new HashSet<Persona> (); - var err_count = 0; - var err_string = ""; unowned GLib.List<TelepathyGLib.Contact> l; for (l = contacts; l != null; l = l.next) { @@ -1339,18 +1337,6 @@ public class Tpf.PersonaStore : Folks.PersonaStore personas.add (persona); } - if (err_count > 0) - { - throw new Folks.PersonaStoreError.CREATE_FAILED ( - /* Translators: the first parameter is the number of personas - * which couldn't be created, and the second is a set of error - * message lines, built using the "'%s' (%p): %s" string - * above. */ - ngettext ("Failed to create %u persona:\n%s", - "Failed to create %u personas:\n%s", err_count), - err_count, err_string); - } - if (personas.size > 0) { this.personas_changed (personas, new HashSet<Persona> (), |