From: Alexander Moisseev Date: Sun, 15 Jul 2018 11:03:29 +0000 (+0300) Subject: [Minor] Remove unused empty function X-Git-Tag: 1.7.9~119^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=df63719060cc2fcf62da52b46c86a6397205a976;p=rspamd.git [Minor] Remove unused empty function --- diff --git a/.eslintrc.json b/.eslintrc.json index f72a23118..5181105f6 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -68,10 +68,8 @@ "new-cap": "off", "no-else-return": "off", "no-empty": "off", - "no-empty-function": "off", "no-inline-comments": "off", "no-invalid-this": "off", - "no-loop-func": "off", "no-negated-condition": "off", "no-underscore-dangle": "off", "one-var-declaration-per-line": "off", diff --git a/interface/js/app/history.js b/interface/js/app/history.js index b1097528c..def170334 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -780,6 +780,5 @@ define(["jquery", "footable", "humanize"], }); }; - ui.setup = function () {}; return ui; }); diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js index 03a02c42b..97fd4ebb7 100644 --- a/interface/js/app/rspamd.js +++ b/interface/js/app/rspamd.js @@ -234,7 +234,6 @@ function ($, d3pie, visibility, tab_stat, tab_graph, tab_config, }); tab_config.setup(ui); tab_symbols.setup(ui, tables); - tab_history.setup(ui, tables); tab_upload.setup(ui); selData = tab_graph.setup(); };