mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 09:25:45 +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;
|
topicData.deleted = isDelete ? 1 : 0;
|
||||||
|
|
||||||
if (isDelete) {
|
if (isDelete) {
|
||||||
plugins.fireHook('action:topic.delete', tid);
|
plugins.fireHook('action:topic.delete', topicData);
|
||||||
} else {
|
} else {
|
||||||
plugins.fireHook('action:topic.restore', topicData);
|
plugins.fireHook('action:topic.restore', topicData);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user