Remove dns related settings api

This is replaced with the multi domain aware api
This commit is contained in:
Johannes Zellner
2017-11-08 23:42:11 +01:00
parent 707d34cb89
commit 4cf2978088
7 changed files with 50 additions and 121 deletions

View File

@@ -239,11 +239,12 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
});
}
// TODO this currently assumes the config.fqdn is the mail domain
function getDnsConfig() {
Client.getDnsConfig(function (error, dnsConfig) {
Client.getDomain($scope.config.fqdn, function (error, result) {
if (error) return console.error(error);
$scope.dnsConfig = dnsConfig;
$scope.dnsConfig = result.config;
});
}