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