diff --git a/portal-impl/src/com/liferay/portlet/wiki/action/EditPageAttachmentsAction.java b/portal-impl/src/com/liferay/portlet/wiki/action/EditPageAttachmentsAction.java
index 3fb4c64f975e003ed84691b7ba4ba1c3dc19e8e6..51c77a48ff885db1656264cd587ef721d8e8100b 100644
--- a/portal-impl/src/com/liferay/portlet/wiki/action/EditPageAttachmentsAction.java
+++ b/portal-impl/src/com/liferay/portlet/wiki/action/EditPageAttachmentsAction.java
@@ -415,12 +415,6 @@ public class EditPageAttachmentsAction extends EditFileEntryAction {
 		String title = ParamUtil.getString(actionRequest, "title");
 		String fileName = ParamUtil.getString(actionRequest, "fileName");
 
-		JSONObject jsonObject =
-			com.liferay.portlet.trash.action.ActionUtil.checkEntry(
-				actionRequest);
-
-		writeJSON(actionRequest, actionResponse, jsonObject);
-
 		WikiPageServiceUtil.restorePageAttachmentFromTrash(
 			nodeId, title, fileName);
 	}
