ldap/servers/plugins/linkedattrs/fixup_task.c | 5 ----- ldap/servers/plugins/linkedattrs/linked_attrs.h | 7 ------- 2 files changed, 12 deletions(-)
New commits: commit 3c66c73e3300e5037df99215a277fb3660a83c07 Author: Mark Reynolds mreynolds@redhat.com Date: Wed May 21 14:14:06 2014 -0400
Ticket 47451 - Remove old code from linked attr plugin
Description: Some old/unneeded functions/declarations were accidentally left behind in the linked attributes plugin.
https://fedorahosted.org/389/ticket/47451
Reviewed by: nhosoi(Thanks!)
diff --git a/ldap/servers/plugins/linkedattrs/fixup_task.c b/ldap/servers/plugins/linkedattrs/fixup_task.c index 5447b38..db3c693 100644 --- a/ldap/servers/plugins/linkedattrs/fixup_task.c +++ b/ldap/servers/plugins/linkedattrs/fixup_task.c @@ -110,9 +110,6 @@ linked_attrs_fixup_task_add(Slapi_PBlock *pb, Slapi_Entry *e, }
out: - if(rv != SLAPI_DSE_CALLBACK_OK){ - linked_attrs_op_finished(); - }
return rv; } @@ -205,8 +202,6 @@ linked_attrs_fixup_task_thread(void *arg) slapi_log_error(SLAPI_LOG_FATAL, LINK_PLUGIN_SUBSYSTEM, "Linked attributes fixup task complete.\n"); slapi_task_inc_progress(task);
- linked_attrs_op_finished(); - /* this will queue the destruction of the task */ slapi_task_finish(task, rc); } diff --git a/ldap/servers/plugins/linkedattrs/linked_attrs.h b/ldap/servers/plugins/linkedattrs/linked_attrs.h index d1dacb6..d57e36c 100644 --- a/ldap/servers/plugins/linkedattrs/linked_attrs.h +++ b/ldap/servers/plugins/linkedattrs/linked_attrs.h @@ -139,11 +139,4 @@ int linked_attrs_fixup_task_add(Slapi_PBlock *pb, Slapi_Entry *e, Slapi_Entry *eAfter, int *returncode, char *returntext, void *arg);
-/* - * misc - */ -int linked_attrs_is_started(); -void linked_attrs_op_started(); -void linked_attrs_op_finished(); - extern int plugin_is_betxn;
389-commits@lists.fedoraproject.org