summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2010-08-25 16:06:07 -0700
committerNoriko Hosoi <nhosoi@redhat.com>2010-08-25 16:06:07 -0700
commitd6f0a9eb0af247fbbbdbda6761c655158373a557 (patch)
treedbb3a279d1141ccc098d631a84ebadacb87a9f06
parent148fa9c396e81a42296e5eaf9d66557342e59d6a (diff)
downloadds-d6f0a9eb0af247fbbbdbda6761c655158373a557.tar.gz
ds-d6f0a9eb0af247fbbbdbda6761c655158373a557.tar.xz
ds-d6f0a9eb0af247fbbbdbda6761c655158373a557.zip
Removed redundant code in agmt_new_from_entry
(ldap/servers/plugins/replication/repl5_agmt.c)
-rw-r--r--ldap/servers/plugins/replication/repl5_agmt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ldap/servers/plugins/replication/repl5_agmt.c b/ldap/servers/plugins/replication/repl5_agmt.c
index 3a052138..db86854a 100644
--- a/ldap/servers/plugins/replication/repl5_agmt.c
+++ b/ldap/servers/plugins/replication/repl5_agmt.c
@@ -324,11 +324,7 @@ agmt_new_from_entry(Slapi_Entry *e)
{
ra->replarea = slapi_sdn_new_dn_passin(tmpstr);
}
- /* XXXggood get fractional attribute include/exclude lists here */
- /* Alrighty Gordon, you get your way... */
- if (slapi_entry_attr_find(e, type_nsds5ReplicaUpdateSchedule, &sattr) == 0)
- {
- }
+
/* Replication schedule */
ra->schedule = schedule_new(update_window_state_change_callback, ra, agmt_get_long_name(ra));
if (slapi_entry_attr_find(e, type_nsds5ReplicaUpdateSchedule, &sattr) == 0)