mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 17:05:51 +01:00
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