add support for user._tmp, disable user.filters since it is not used

This commit is contained in:
Matteo Pagliazzi
2016-02-29 23:20:13 +01:00
parent a04bf4c045
commit e5224a7b2a
5 changed files with 44 additions and 12 deletions

View File

@@ -175,7 +175,6 @@ export default function scoreTask (options = {}, req = {}) {
exp: user.stats.exp,
};
// TODO return or pass to cb, don't add to user object
// This is for setting one-time temporary flags, such as streakBonus or itemDropped. Useful for notifying
// the API consumer, then cleared afterwards
user._tmp = {};