kaoritokashiki 5 лет назад
Родитель
Сommit
42580e5b34
1 измененных файлов с 0 добавлено и 8 удалено
  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
     // - 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
    * Delete all uploaded files
    */
    */