summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorAllemand <37148072+salleman33@users.noreply.github.com>2020-06-17 18:50:44 +0200
committerGitHub <noreply@github.com>2020-06-17 18:50:44 +0200
commit670b964e6bfc6000cdfe1a6adc343f4c7b406b9e (patch)
treedfb533c3b65f8d0506ddbbeef5a6407b4b5f4eb9 /models
parentf6c377eb9f3f7e62911cadbd0ac8745b537d3f97 (diff)
downloadwekan-670b964e6bfc6000cdfe1a6adc343f4c7b406b9e.tar.gz
wekan-670b964e6bfc6000cdfe1a6adc343f4c7b406b9e.tar.bz2
wekan-670b964e6bfc6000cdfe1a6adc343f4c7b406b9e.zip
update comments
Diffstat (limited to 'models')
-rw-r--r--models/users.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/users.js b/models/users.js
index 7f234a54..7ce4edbc 100644
--- a/models/users.js
+++ b/models/users.js
@@ -946,7 +946,7 @@ if (Meteor.isServer) {
existingUser.profile = user.profile;
existingUser.authenticationMethod = user.authenticationMethod;
- Meteor.users.remove({ _id: user._id }); // remove existing record
+ Meteor.users.remove({ _id: user._id }); // remove previous record
return existingUser;
}