[evolution-data-server] EBookBackendLDAP: Remove the remove() method.



commit 25a2b1c1566db95d86d3216adef96a9c320ec846
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Aug 16 15:47:57 2012 -0400

    EBookBackendLDAP: Remove the remove() method.
    
    Cache reaper module takes care of the data and cache cleanup now.
    When a data source is removed, the backend for it is simply finalized.

 addressbook/backends/ldap/e-book-backend-ldap.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/addressbook/backends/ldap/e-book-backend-ldap.c b/addressbook/backends/ldap/e-book-backend-ldap.c
index dbbfac9..46df283 100644
--- a/addressbook/backends/ldap/e-book-backend-ldap.c
+++ b/addressbook/backends/ldap/e-book-backend-ldap.c
@@ -5263,18 +5263,6 @@ e_book_backend_ldap_open (EBookBackend *backend,
 }
 
 static void
-e_book_backend_ldap_remove (EBookBackend *backend,
-                            EDataBook *book,
-                            guint32 opid,
-                            GCancellable *cancellable)
-{
-	/* if we ever add caching, we'll remove it here, but for now,
-	 * just report back Success */
-
-	e_data_book_respond_remove (book, opid, EDB_ERROR (SUCCESS));
-}
-
-static void
 e_book_backend_ldap_get_backend_property (EBookBackend *backend,
                                           EDataBook *book,
                                           guint32 opid,
@@ -5740,7 +5728,6 @@ e_book_backend_ldap_class_init (EBookBackendLDAPClass *class)
 
 	/* Set the virtual methods. */
 	parent_class->open			= e_book_backend_ldap_open;
-	parent_class->remove			= e_book_backend_ldap_remove;
 	parent_class->get_backend_property	= e_book_backend_ldap_get_backend_property;
 
 	parent_class->create_contacts		= e_book_backend_ldap_create_contacts;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]