]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove unused empty function
authorAlexander Moisseev <moiseev@mezonplus.ru>
Sun, 15 Jul 2018 11:03:29 +0000 (14:03 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Sun, 15 Jul 2018 11:03:29 +0000 (14:03 +0300)
.eslintrc.json
interface/js/app/history.js
interface/js/app/rspamd.js

index f72a231183b3d9f931d75e0e14d47243852d4ef8..5181105f694b500d5ebb1c5a4abd09f875224397 100644 (file)
         "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",
index b1097528c6e1dcd17f036310f2b05a88222ef077..def1703344cb22587c4b1b02b37ba01f87929825 100644 (file)
@@ -780,6 +780,5 @@ define(["jquery", "footable", "humanize"],
             });
         };
 
-        ui.setup = function () {};
         return ui;
     });
index 03a02c42bc91c1b8ae1fd150f56d650572b8ed00..97fd4ebb799ffba628789898be14274f7fc0357b 100644 (file)
@@ -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();
     };