mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
lint: remove unused function
This commit is contained in:
@@ -95,10 +95,6 @@ module.exports = function (Topics) {
|
||||
return postCountInTopic;
|
||||
}
|
||||
|
||||
function replaceImgWithAltText(str) {
|
||||
return String(str).replace(/<img .*?alt="(.*?)"[^>]*>/gi, '$1');
|
||||
}
|
||||
|
||||
async function handleBlocks(uid, teasers) {
|
||||
const blockedUids = await user.blocks.list(uid);
|
||||
if (!blockedUids.length) {
|
||||
|
||||
Reference in New Issue
Block a user