aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--models/access.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/models/access.js b/models/access.js
index ab8d257..ce75f8c 100644
--- a/models/access.js
+++ b/models/access.js
@@ -33,7 +33,6 @@ AccessSchema.statics = {
loadUser: function(id, callback) {
this.find({ user: id })
- .populate('user')
.populate('project')
.sort({ 'created': -1 }) // sort by date
.exec(callback);