Browse Source

remove unnecessary codes

kaoritokashiki 5 years ago
parent
commit
42580e5b34
1 changed files with 0 additions and 8 deletions
  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
    */