zamis 5 years ago
parent
commit
3268639d96
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/server/service/file-uploader/none.js

+ 5 - 0
src/server/service/file-uploader/none.js

@@ -9,6 +9,11 @@ module.exports = function(crowi) {
     return false;
   };
 
+  lib.deleteFile = function(filePath) {
+    debug(`File deletion: ${filePath}`);
+    throw new Error('not implemented');
+  };
+
   lib.deleteFiles = function(filePath) {
     debug(`File deletion: ${filePath}`);
     throw new Error('not implemented');