eliminate unused vars in search counters

This commit is contained in:
r888888888
2018-05-26 11:53:53 -07:00
parent 5ae37597cd
commit c054784302
5 changed files with 8 additions and 15 deletions

View File

@@ -2,8 +2,6 @@
$(function() {
var tags = $("#tags").val();
$.post("<%= Danbooru.config.reportbooru_server %>/missed_searches", {
session_id: "<%= session_id %>",
tags: tags,
sig: "<%= sig %>"
});
});

View File

@@ -1,11 +1,6 @@
<script type="text/javascript">
$(function() {
$.post("<%= Danbooru.config.reportbooru_server %>/hits", {
key: "<%= key %>",
value: "<%= value %>",
<% if CurrentUser.user.is_platinum? %>
uid: <%= CurrentUser.user.id %>,
<% end %>
$.post("<%= Danbooru.config.reportbooru_server %>/post_searches", {
sig: "<%= sig %>"
});
});