@@ -28,7 +28,7 @@ module.exports = function(crowi) {
lib.deleteFile = async function(attachment) {
let filenameValue = attachment.fileName;
-
+
if (attachment.filePath != null) { // backward compatibility for v3.3.x or below
filenameValue = attachment.filePath;
}