posts: remove dead has_ugoira_webm? code.

This commit is contained in:
evazion
2021-02-18 04:05:18 -06:00
parent e165ad3213
commit af84314c38
3 changed files with 3 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
<% if CurrentUser.user.default_image_size == "large" && params[:original].blank? && post.has_ugoira_webm? %>
<% if CurrentUser.user.default_image_size == "large" && params[:original].blank? %>
<%= render "posts/partials/show/ugoira_webm", :post => post %>
<% else %>
<%= render "posts/partials/show/ugoira_original", :post => post %>