summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/task.c
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2006-11-10 01:13:47 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2006-11-10 01:13:47 +0000
commit823cf6940a435b667a5c27c3dcc80f60829f1a3c (patch)
tree00ebf577f985cc33614096a0354d54c6c5e24030 /ldap/servers/slapd/task.c
parent774a36c8dce821975ecd014b682a51ae2d9c9537 (diff)
downloadds-823cf6940a435b667a5c27c3dcc80f60829f1a3c.tar.gz
ds-823cf6940a435b667a5c27c3dcc80f60829f1a3c.tar.xz
ds-823cf6940a435b667a5c27c3dcc80f60829f1a3c.zip
Resolves: #214728
Summary: Cleaning up obsolete macros in the build Changes: eliminated macro UPGRADEDB (Comment #6)
Diffstat (limited to 'ldap/servers/slapd/task.c')
-rw-r--r--ldap/servers/slapd/task.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ldap/servers/slapd/task.c b/ldap/servers/slapd/task.c
index 76495f27..e3dfc191 100644
--- a/ldap/servers/slapd/task.c
+++ b/ldap/servers/slapd/task.c
@@ -56,9 +56,7 @@ static int shutting_down = 0;
#define TASK_BACKUP_DN "cn=backup, cn=tasks, cn=config"
#define TASK_RESTORE_DN "cn=restore, cn=tasks, cn=config"
#define TASK_INDEX_DN "cn=index, cn=tasks, cn=config"
-#if defined(UPGRADEDB)
#define TASK_UPGRADEDB_DN "cn=upgradedb, cn=tasks, cn=config"
-#endif
#define TASK_LOG_NAME "nsTaskLog"
#define TASK_STATUS_NAME "nsTaskStatus"
@@ -1367,7 +1365,6 @@ out:
return rv;
}
-#if defined(UPGRADEDB)
static int
task_upgradedb_add(Slapi_PBlock *pb, Slapi_Entry *e, Slapi_Entry *eAfter,
int *returncode, char *returntext, void *arg)
@@ -1465,7 +1462,6 @@ out:
*returncode = LDAP_SUCCESS;
return SLAPI_DSE_CALLBACK_OK;
}
-#endif
/* update attributes in the entry under "cn=tasks" to match the current
* status of the task.
@@ -1697,9 +1693,7 @@ void task_init(void)
slapi_task_register_handler("backup", task_backup_add);
slapi_task_register_handler("restore", task_restore_add);
slapi_task_register_handler("index", task_index_add);
-#if defined(UPGRADEDB)
slapi_task_register_handler("upgradedb", task_upgradedb_add);
-#endif
}
/* called when the server is shutting down -- abort all existing tasks */