mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-30 19:30:04 +01:00
Merge pull request #3219 from rbeer/topic.del-payload
send topicData on action:topic.delete
This commit is contained in:
@@ -39,7 +39,7 @@ var async = require('async'),
|
||||
topicData.deleted = isDelete ? 1 : 0;
|
||||
|
||||
if (isDelete) {
|
||||
plugins.fireHook('action:topic.delete', tid);
|
||||
plugins.fireHook('action:topic.delete', topicData);
|
||||
} else {
|
||||
plugins.fireHook('action:topic.restore', topicData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user