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

i did it for deleting slave zone:
        //* 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