summaryrefslogtreecommitdiffstats
path: root/settings/src/store
diff options
context:
space:
mode:
Diffstat (limited to 'settings/src/store')
-rw-r--r--settings/src/store/users.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/settings/src/store/users.js b/settings/src/store/users.js
index 0e0632fff31..052a2918390 100644
--- a/settings/src/store/users.js
+++ b/settings/src/store/users.js
@@ -57,8 +57,6 @@ const mutations = {
}
},
addUserGroup(state, { userid, gid }) {
- // this should not be needed as it would means the user contains a group
- // the server database doesn't have.
let group = state.groups.find(groupSearch => groupSearch.id == gid);
if (group) {
group.usercount++; // increase count
@@ -68,8 +66,6 @@ const mutations = {
state.groups = orderGroups(state.groups, state.orderBy);
},
removeUserGroup(state, { userid, gid }) {
- // this should not be needed as it would means the user contains a group
- // the server database doesn't have.
let group = state.groups.find(groupSearch => groupSearch.id == gid);
if (group) {
group.usercount--; // lower count