Explorar el Código

remove unnecessary codes

kaoritokashiki hace 5 años
padre
commit
6544438120
Se han modificado 1 ficheros con 0 adiciones y 8 borrados
  1. 0 8
      src/server/service/import.js

+ 0 - 8
src/server/service/import.js

@@ -476,14 +476,6 @@ class ImportService {
     // - import: throw err if there are pending migrations
   }
 
-  // 追加
-  validateUploadedVersion(meta) {
-    if (meta.version !== this.crowi.version) {
-      const versionErr = new Error('the version of this growi and the growi that updated data are not met');
-      return versionErr;
-    }
-  }
-
   /**
    * Delete all uploaded files
    */