From 46c50baaba0b6c05beba7ae3be0b42d9bd12dbd5 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Tue, 13 Aug 2013 18:56:10 +0200 Subject: [PATCH] Remove some useless code in QuoteCT. --- src/Quotelinks/QuoteCT.coffee | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Quotelinks/QuoteCT.coffee b/src/Quotelinks/QuoteCT.coffee index 8dbce5916..92cd9dcbc 100644 --- a/src/Quotelinks/QuoteCT.coffee +++ b/src/Quotelinks/QuoteCT.coffee @@ -10,12 +10,9 @@ QuoteCT = node: -> # Stop there if it's a clone of a post in the same thread. return if @isClone and @thread is @context.thread - # Stop there if there's no quotes in that post. - return unless (quotes = @quotes).length - {quotelinks} = @nodes {board, thread} = if @isClone then @context else @ - for quotelink in quotelinks + for quotelink in @nodes.quotelinks {boardID, threadID} = Get.postDataFromLink quotelink continue unless threadID # deadlink if @isClone