log topic move

This commit is contained in:
barisusakli
2014-10-10 15:44:02 -04:00
parent ffcb324d91
commit e052d8e5c1
2 changed files with 6 additions and 0 deletions

View File

@@ -207,6 +207,8 @@ var winston = require('winston'),
topics.setTopicField(tid, 'cid', cid, callback);
events.logTopicMove(uid, tid);
plugins.fireHook('action:topic.move', {
tid: tid,
fromCid: oldCid,