Skip to content

Commit 949ab38

Browse files
committed
Remove unreachable code
1 parent 84066d6 commit 949ab38

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

interface/lib/classes/remote.d/dns.inc.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ public function dns_templatezone_add($session_id, $client_id, $template_id, $dom
4646
global $app, $conf;
4747
if(!$this->checkPerm($session_id, 'dns_templatezone_add')) {
4848
throw new SoapFault('permission_denied', 'You do not have the permissions to access this function.');
49-
return false;
5049
}
5150

5251
$client = $app->db->queryOneRecord("SELECT default_dnsserver FROM client WHERE client_id = ?", $client_id);

0 commit comments

Comments
 (0)