diff --git a/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/action/ModifyNodeAction.java b/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/action/ModifyNodeAction.java index 945d64e154..995008a746 100644 --- a/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/action/ModifyNodeAction.java +++ b/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/action/ModifyNodeAction.java @@ -23,7 +23,6 @@ import org.apache.commons.chain.Context; import org.exoplatform.services.command.action.Action; -import org.exoplatform.services.jcr.impl.core.PropertyImpl; import org.exoplatform.services.security.ConversationState; /** @@ -51,10 +50,6 @@ public boolean execute(Context context) throws Exception { if(node.canAddMixin("exo:modify")) { node.addMixin("exo:modify"); } - String propertyName =((PropertyImpl) item).getInternalName().getName(); - if (propertyName.equals("documentViews") || propertyName.equals("documentViewers")) { - return false; - } node.setProperty("exo:lastModifiedDate", new GregorianCalendar()); node.setProperty("exo:lastModifier",userName); return false;