fix(v3): cleanup of shared code

This commit is contained in:
Matteo Pagliazzi
2016-04-10 18:42:59 +02:00
parent 9027a9a907
commit c6879aa5df
4 changed files with 5 additions and 3 deletions

View File

@@ -1,4 +1,3 @@
module.exports = function clearPMs (user) {
user.inbox.messages = {};
user.markModified('inbox.messages');