diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-05-11 09:57:13 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-05-16 09:50:24 +0200 |
commit | 549940ddb9643a57a0900aa002b49276e5d20d9b (patch) | |
tree | 956eddc3e1f521bc25aa8c2fd6ff8e2e81a6793d /settings/src/store/users.js | |
parent | a62c796f0709dacc332b7d9328e3f6ab151991f3 (diff) | |
download | nextcloud-server-549940ddb9643a57a0900aa002b49276e5d20d9b.tar.gz nextcloud-server-549940ddb9643a57a0900aa002b49276e5d20d9b.zip |
Fixed root url detection, new tests, default new user group to current
opened group and user removal update fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/src/store/users.js')
-rw-r--r-- | settings/src/store/users.js | 4 |
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 |