log post purges

This commit is contained in:
barisusakli
2014-10-15 15:57:37 -04:00
parent 90224d2de3
commit 80489c6564
2 changed files with 5 additions and 1 deletions

View File

@@ -166,7 +166,7 @@ var winston = require('winston'),
if (err || !canEdit) {
return callback(err || new Error('[[error:no-privileges]]'));
}
events.logPostPurge(uid, pid);
posts.purge(pid, callback);
});
};