View Single Post
  #8  
Old 11th August 2012, 18:19
maumar maumar is offline
Senior Member
 
Join Date: May 2009
Location: San Costanzo (PU - Italy)
Posts: 134
Thanks: 8
Thanked 11 Times in 11 Posts
Send a message via MSN to maumar Send a message via Skype™ to maumar
Default

i did it for deleting slave zone:
Code:
        //* Delete a record slave
        public function dns_slave_delete($session_id, $primary_id)
        {
                if(!$this->checkPerm($session_id, 'dns_zone_add')) {
                        $this->server->fault('permission_denied', 'You do not have the permissions to access this function.');
                        return false;
                }
                return $this->deleteQuery('../dns/form/dns_slave.tform.php',$primary_id);
        }
Reply With Quote