modreports: remove dead code.

This commit is contained in:
evazion
2021-01-16 01:15:39 -06:00
parent 22de059e88
commit e7cdae33b2
6 changed files with 5 additions and 31 deletions

View File

@@ -21,9 +21,6 @@
<% if !@user.is_platinum? %>
<%= subnav_link_to "Gift upgrade", new_user_upgrade_path(:user_id => @user.id) %>
<% end %>
<% if policy(@user).reportable? %>
<%= subnav_link_to "Report user", new_moderation_report_path(moderation_report: { model_type: "User", model_id: @user.id }), remote: true %>
<% end %>
<% end %>
<% if policy(CurrentUser.user).promote? %>