From e0945faec05238c33d2c3b4c0d272e52c144ac45 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 15 Dec 2006 15:59:51 +0000
Subject: [PATCH] Update the LastMod plugin so that the changes to modifiersName and modifyTimestamp applied to modify and modify DN operations are marked as internal modifications.
---
opendj-sdk/opends/src/server/org/opends/server/plugins/LastModPlugin.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/plugins/LastModPlugin.java b/opendj-sdk/opends/src/server/org/opends/server/plugins/LastModPlugin.java
index c1c7218..aad5ab9 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/plugins/LastModPlugin.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/plugins/LastModPlugin.java
@@ -237,7 +237,7 @@
try
{
modifyOperation.addModification(new Modification(ModificationType.REPLACE,
- nameAttr));
+ nameAttr, true));
}
catch (DirectoryException de)
{
@@ -261,7 +261,7 @@
try
{
modifyOperation.addModification(new Modification(ModificationType.REPLACE,
- timeAttr));
+ timeAttr, true));
}
catch (DirectoryException de)
{
@@ -310,7 +310,7 @@
Attribute nameAttr = new Attribute(modifiersNameType,
OP_ATTR_MODIFIERS_NAME, nameValues);
modifyDNOperation.addModification(new Modification(ModificationType.REPLACE,
- nameAttr));
+ nameAttr, true));
// Create the modifyTimestamp attribute.
@@ -322,7 +322,7 @@
Attribute timeAttr = new Attribute(modifyTimestampType,
OP_ATTR_MODIFY_TIMESTAMP, timeValues);
modifyDNOperation.addModification(new Modification(ModificationType.REPLACE,
- timeAttr));
+ timeAttr, true));
// We shouldn't ever need to return a non-success result.
--
Gitblit v1.10.0