mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 09:06:15 +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 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) {
|
Categories.updateRecentTidForCid = async function (cid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user