Removed FIXME comment above invitations object - the object is still being used.

This commit is contained in:
kylestratis
2015-10-27 21:12:19 -04:00
parent 3bae95d3ae
commit 0283408d1e

View File

@@ -195,7 +195,6 @@ var UserSchema = new Schema({
todos: Array //[{data: Date, value: Number}] // big peformance issues if these are defined
},
// FIXME remove?
invitations: {
guilds: {type: Array, 'default': []},
party: Schema.Types.Mixed
@@ -603,7 +602,7 @@ UserSchema.methods.unlink = function(options, cb) {
module.exports.schema = UserSchema;
module.exports.model = mongoose.model("User", UserSchema);
// Initially export an empty object so external requires will get
// Initially export an empty object so external requires will get
// the right object by reference when it's defined later
// Otherwise it would remain undefined if requested before the query executes
module.exports.mods = [];