summaryrefslogtreecommitdiffstats
path: root/src/wrap.c
diff options
context:
space:
mode:
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;
}