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