Browse Source

remove unnecessary validateCrowi

Futa Arai 2 years ago
parent
commit
ea0548c332
1 changed files with 0 additions and 1 deletions
  1. 0 1
      apps/app/src/server/models/obsolete-page.js

+ 0 - 1
apps/app/src/server/models/obsolete-page.js

@@ -331,7 +331,6 @@ export const getPageSchema = (crowi) => {
 
     let userGroups = [];
     if (user != null) {
-      validateCrowi();
       userGroups = await UserGroupRelation.findAllUserGroupIdsRelatedToUser(user);
     }