Commit cec9d3de authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(frontend): removed legacy ping backend

issue #1023
parent cf79e0ac
......@@ -116,9 +116,6 @@ ravadaApp.directive("solShowMachine", swMach)
};
function machinesPageC($scope, $http, $interval, $timeout, request, listMach) {
$http.get('/pingbackend.json').then(function(response) {
$scope.pingbe_fail = !response.data;
});
if( $scope.check_netdata && $scope.check_netdata != "0" ) {
var url = $scope.check_netdata;
$scope.check_netdata = 0;
......@@ -299,9 +296,6 @@ ravadaApp.directive("solShowMachine", swMach)
};
function usersPageC($scope, $http, $interval, request) {
$http.get('/pingbackend.json').then(function(response) {
$scope.pingbe_fail = !response.data;
});
$scope.action = function(target,action,machineId){
$http.get('/'+target+'/'+action+'/'+machineId+'.json');
};
......@@ -309,9 +303,6 @@ ravadaApp.directive("solShowMachine", swMach)
};
function messagesPageC($scope, $http, $interval, request) {
$http.get('/pingbackend.json').then(function(response) {
$scope.pingbe_fail = !response.data;
});
$scope.getMessages = function() {
$http.get('/messages.json').then(function(response) {
$scope.list_message= response.data;
......
......@@ -243,9 +243,6 @@
};
$scope.domain_remove = 0;
$scope.new_name_invalid = false;
$http.get('/pingbackend.json').then(function(response) {
$scope.pingbe_fail = !response.data;
});
$scope.machine_info = function(id) {
$http.get('/machine/info/'+$scope.showmachineId+'.json')
.then(function(response) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment