From bf6a58ff20fa822c1203f47b5a0eed3e9e00fca7 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 10 Jul 2019 22:41:37 +0200 Subject: [PATCH] Removed the display of cumulative likes See WoltLab/WCF#2974 --- com.woltlab.wcf/templates/boxArticleList.tpl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/com.woltlab.wcf/templates/boxArticleList.tpl b/com.woltlab.wcf/templates/boxArticleList.tpl index c639d38c59..da599cd704 100644 --- a/com.woltlab.wcf/templates/boxArticleList.tpl +++ b/com.woltlab.wcf/templates/boxArticleList.tpl @@ -14,10 +14,6 @@ {lang article=$boxArticle}wcf.article.articleViews{/lang} {elseif $boxSortField == 'comments'} {$boxArticle->getDiscussionProvider()->getDiscussionCountPhrase()} - {elseif $boxSortField == 'cumulativeLikes'} - {if MODULE_LIKE && $__wcf->getSession()->getPermission('user.like.canViewLike') && ($boxArticle->likes || $boxArticle->dislikes)} - {if $boxArticle->cumulativeLikes > 0}+{elseif $boxArticle->cumulativeLikes == 0}±{/if}{#$boxArticle->cumulativeLikes} - {/if} {/if} -- 2.20.1