]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/delete.c
Add trickle-sync for quick mode
[openldap] / servers / slapd / delete.c
index f2501476a9d3340e525af96c38617240d64424fb..183066b7d6e6c51b5caeabee85d3ae45c405ac46 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2006 The OpenLDAP Foundation.
+ * Copyright 1998-2007 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -168,15 +168,8 @@ fe_op_delete( Operation *op, SlapReply *rs )
                        struct berval   org_dn = BER_BVNULL;
                        struct berval   org_ndn = BER_BVNULL;
                        int             org_managedsait;
-                       slap_callback   cb = { NULL, slap_replog_cb, NULL, NULL };
 
                        op->o_bd = op_be;
-
-                       if ( !op->o_bd->be_update_ndn.bv_len || !repl_user ) {
-                               cb.sc_next = op->o_callback;
-                               op->o_callback = &cb;
-                       }
-
                        op->o_bd->be_delete( op, rs );
 
                        org_req_dn = op->o_req_dn;