diff --git a/scripts/pi-hole/js/settings-dns.js b/scripts/pi-hole/js/settings-dns.js index 355cf607..356cee69 100644 --- a/scripts/pi-hole/js/settings-dns.js +++ b/scripts/pi-hole/js/settings-dns.js @@ -107,16 +107,6 @@ function updateDNSserversTextfield(upstreams, customServers) { ); } -function revServersField(data, fieldIndex) { - // If an invalid index is received, return null - if (fieldIndex < 0 || fieldIndex > 4) { - return null; - } - - const arrRevServers = data.split(","); - return arrRevServers.length > fieldIndex ? arrRevServers[fieldIndex] : ""; -} - function revServerDataTable() { var setByEnv = false; $.ajax({