]> git.sur5r.net Git - openldap/commitdiff
Delete bogus code from 1.435
authorHoward Chu <hyc@openldap.org>
Thu, 5 Mar 2009 09:17:36 +0000 (09:17 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 5 Mar 2009 09:17:36 +0000 (09:17 +0000)
servers/slapd/syncrepl.c

index f10c36b600e72370bfcbf9ce80bfd6d659047fc3..69e5a9b095c110443d40509c85356be6a75ac391 100644 (file)
@@ -3186,8 +3186,6 @@ dn_callback(
                                 * is actually newer than old entry
                                 */
                                if ( !is_entry_glue( rs->sr_entry )) {
-                                       old = attr_find( rs->sr_entry->e_attrs,
-                                               slap_schema.si_ad_objectClass );
                                        old = attr_find( rs->sr_entry->e_attrs,
                                                slap_schema.si_ad_entryCSN );
                                        new = attr_find( dni->new_entry->e_attrs,