Skip to content
Snippets Groups Projects
Commit 949ab384 authored by Helmo's avatar Helmo
Browse files

Remove unreachable code

parent 84066d63
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,6 @@ class remoting_dns extends remoting {
global $app, $conf;
if(!$this->checkPerm($session_id, 'dns_templatezone_add')) {
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
return false;
}
$client = $app->db->queryOneRecord("SELECT default_dnsserver FROM client WHERE client_id = ?", $client_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment