Skip to content

Commit

Permalink
Revert "fix: Wrong modifier avatar displayed in file details - EXO-69919
Browse files Browse the repository at this point in the history
 (#318)"

This reverts commit 5e5a8aa.
  • Loading branch information
azayati authored Mar 20, 2024
1 parent 5e5a8aa commit e39300a
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit e39300a

Please sign in to comment.