Procházet zdrojové kódy

remove unnecessary codes

kaoritokashiki před 5 roky
rodič
revize
42580e5b34
1 změnil soubory, kde provedl 0 přidání a 8 odebrání
  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
    */