]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove obsolete HTTP request
authorAlexander Moisseev <moiseev@mezonplus.ru>
Fri, 27 Jul 2018 08:03:06 +0000 (11:03 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Fri, 27 Jul 2018 08:03:06 +0000 (11:03 +0300)
interface/js/app/rspamd.js

index 5edf24deb1168d9b6e47d184cae67b7845fc0db2..162717288a86088b0b4fda39bc21ead7a1e1e3f1 100644 (file)
@@ -259,19 +259,6 @@ function ($, d3pie, visibility, tab_stat, tab_graph, tab_config,
             }, 1000);
         });
 
-        $.ajax({
-            type: "GET",
-            url: "stat",
-            success: function () {
-                saveCredentials({}, "nopassword");
-                var dialog = $("#connectDialog");
-                var backdrop = $("#backDrop");
-                $(dialog).hide();
-                $(backdrop).hide();
-                displayUI();
-            },
-        });
-
         $("a[data-toggle=\"tab\"]").on("click", function (e) {
             var tab_id = "#" + $(e.target).attr("id");
             tabClick(tab_id);