summaryrefslogtreecommitdiffstats
path: root/src/wrap.c
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@dahyabhai.net>2012-06-13 15:06:14 -0400
committerNalin Dahyabhai <nalin@dahyabhai.net>2012-06-13 15:06:14 -0400
commit78220857bd3c420fd2b09b1a83eaae23ec2e0c33 (patch)
tree89374acc9a2fda18f86e977721bdf7594d6336ad /src/wrap.c
parentc18ffce4be91de84a3c5e56895336829bdc16846 (diff)
downloadslapi-nis-78220857bd3c420fd2b09b1a83eaae23ec2e0c33.tar.gz
slapi-nis-78220857bd3c420fd2b09b1a83eaae23ec2e0c33.tar.xz
slapi-nis-78220857bd3c420fd2b09b1a83eaae23ec2e0c33.zip
drop support for directory server transactions
Transaction support the way we added it is an all-or-nothing proposition for a server installation, which turned out to be problematic, so 389 is going to pursue another strategy for that. The new way requires that we not register as a betxn plugin, ever.
Diffstat (limited to 'src/wrap.c')
-rw-r--r--src/wrap.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/wrap.c b/src/wrap.c
index ac00737..629f697 100644
--- a/src/wrap.c
+++ b/src/wrap.c
@@ -275,19 +275,6 @@ wrap_pblock_new(Slapi_PBlock *parent)
Slapi_PBlock *ret;
ret = slapi_pblock_new();
-#if defined(SLAPI_TXN) && defined(SLAPI_PARENT_TXN)
- if (ret != NULL) {
- void *txn;
- slapi_pblock_get(parent, SLAPI_PARENT_TXN, &txn);
- if (txn != NULL) {
- slapi_pblock_set(ret, SLAPI_PARENT_TXN, txn);
- }
- slapi_pblock_get(parent, SLAPI_TXN, &txn);
- if (txn != NULL) {
- slapi_pblock_set(ret, SLAPI_TXN, txn);
- }
- }
-#endif
return ret;
}