mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
refactor: change to action:categories.updateRecentTid
This commit is contained in:
@@ -35,7 +35,7 @@ module.exports = function (Categories) {
|
||||
}
|
||||
|
||||
await db.sortedSetAdd('cid:' + cid + ':recent_tids', Date.now(), tid);
|
||||
await plugins.fireHook('filter:categories.updateRecentTid', { cid: cid, tid: tid });
|
||||
await plugins.fireHook('action:categories.updateRecentTid', { cid: cid, tid: tid });
|
||||
};
|
||||
|
||||
Categories.updateRecentTidForCid = async function (cid) {
|
||||
|
||||
Reference in New Issue
Block a user