Browse Source

remove .init

yohei0125 4 năm trước cách đây
mục cha
commit
f2c199933f
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  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