Finished adding a new delete to also remove the reference from the invites list on the APM.

This commit is contained in:
HSam
2016-03-06 11:59:31 -06:00
parent 4d87f0276b
commit 48db16fba7
6 changed files with 32 additions and 10 deletions

View File

@@ -39,7 +39,6 @@ var async = require('async'),
if (err || userData.status === 'offline' || now - parseInt(userData.lastonline, 10) < 300000) {
return callback(err);
}
User.setUserField(uid, 'lastonline', now, callback);
});
};
@@ -257,4 +256,3 @@ var async = require('async'),
}(exports));