From df63719060cc2fcf62da52b46c86a6397205a976 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Sun, 15 Jul 2018 14:03:29 +0300 Subject: [PATCH] [Minor] Remove unused empty function --- .eslintrc.json | 2 -- interface/js/app/history.js | 1 - interface/js/app/rspamd.js | 1 - 3 files changed, 4 deletions(-) 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(); }; -- 2.39.5