mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
ALF-4296 - tweak how Status.STATUS_GONE is returned from the replication webscripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21730 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -64,9 +64,9 @@ public class RunningActionDelete extends AbstractActionWebscript
|
||||
actionTrackingService.requestActionCancellation(action);
|
||||
|
||||
// Report it cancelled
|
||||
throw new WebScriptException(
|
||||
Status.STATUS_GONE,
|
||||
"Action cancellation requested"
|
||||
);
|
||||
status.setCode(Status.STATUS_GONE);
|
||||
status.setMessage("Action cancellation requested");
|
||||
status.setRedirect(true);
|
||||
return null;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user