瀏覽代碼

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
  */