Browse Source

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!)
Mark Reynolds 11 years ago
parent
commit
3c66c73e33

+ 0 - 5
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);
 }

+ 0 - 7
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;