소스 검색

remove unnecessary method

Futa Arai 2 년 전
부모
커밋
78c3d8620a
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      apps/app/src/server/models/page.ts

+ 0 - 2
apps/app/src/server/models/page.ts

@@ -1052,8 +1052,6 @@ schema.methods.calculateAndUpdateLatestRevisionBodyLength = async function(this:
   await this.save();
 };
 
-schema.methods.removeGroupsFromAllPageGrantedGroups = async function(pages: PageDocument[], groupIds: ObjectIdLike[]): Promise<void> {};
-
 /*
  * Merge obsolete page model methods and define new methods which depend on crowi instance
  */