diff options
Diffstat (limited to 'addressbook/backend/pas')
-rw-r--r-- | addressbook/backend/pas/pas-backend-file.c | 12 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-backend-ldap.c | 12 |
2 files changed, 2 insertions, 22 deletions
diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c index 11b5abb670..2dbd27a89a 100644 --- a/addressbook/backend/pas/pas-backend-file.c +++ b/addressbook/backend/pas/pas-backend-file.c @@ -947,18 +947,8 @@ pas_backend_file_load_uri (PASBackend *backend, g_free(bf->priv->uri); bf->priv->uri = g_strdup (uri); - } else { - GList *l; - - for (l = bf->priv->clients; l; l = l->next) { - PASBook *book; - - book = PAS_BOOK (l->data); - pas_book_respond_open (book, Evolution_BookListener_OtherError); - } - + } else return FALSE; - } return TRUE; } diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c index 53d32d0e83..fa04be67de 100644 --- a/addressbook/backend/pas/pas-backend-ldap.c +++ b/addressbook/backend/pas/pas-backend-ldap.c @@ -898,18 +898,8 @@ pas_backend_ldap_load_uri (PASBackend *backend, pas_backend_ldap_ensure_connected(bl); return TRUE; - } else { - GList *l; - - for (l = bl->priv->clients; l; l = l->next) { - PASBook *book; - - book = PAS_BOOK (l->data); - pas_book_respond_open (book, Evolution_BookListener_OtherError); - } - + } else return FALSE; - } } /* Get_uri handler for the addressbook LDAP backend */ |