瀏覽代碼

remove .init

yohei0125 4 年之前
父節點
當前提交
f2c199933f
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      packages/app/src/server/service/page-operation.ts

+ 0 - 5
packages/app/src/server/service/page-operation.ts

@@ -12,11 +12,6 @@ class PageOperationService {
     this.crowi = crowi;
   }
 
-  // TODO: Remove this code when resuming feature is implemented
-  async init():Promise<void> {
-    await PageOperation.deleteMany({});
-  }
-
   /**
    * Check if the operation is operatable
    * @param isRecursively Boolean that determines whether the operation is recursive or not