send topicData on action:topic.delete

This commit is contained in:
Raphael Beer
2015-06-06 13:29:23 +02:00
parent 3a36ae5c13
commit d8c329cadd

View File

@@ -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);
}