Browse Source

BugFix: PageGroupRelation.isExistsGrantedGroupForPageAndUser

Yuki Takei 8 years ago
parent
commit
4a6d1d7d21
1 changed files with 0 additions and 3 deletions
  1. 0 3
      lib/models/page-group-relation.js

+ 0 - 3
lib/models/page-group-relation.js

@@ -160,9 +160,6 @@ class PageGroupRelation {
     return this.findByPage(pageData)
       .then(pageRelation => {
         return UserGroupRelation.isRelatedUserForGroup(userData, pageRelation.relatedGroup);
-      })
-      .then(userGroupRelation => {
-        return userGroupRelation != null;
       });
   }