From: Alexander Ebert Date: Wed, 10 Jul 2019 20:41:37 +0000 (+0200) Subject: Removed the display of cumulative likes X-Git-Tag: 5.2.0_Alpha_2~26 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bf6a58ff20fa822c1203f47b5a0eed3e9e00fca7;p=GitHub%2FWoltLab%2FWCF.git Removed the display of cumulative likes See WoltLab/WCF#2974 --- 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}