/** * The deleteZone method checks if a zone exists and deletes * the zone or returns an error message, as appropriate. * * @access public * * @param string $sessionId * @param integer $zoneId * * @return boolean */ function deleteZone($sessionId, $zoneId) { if ($this->verifySession($sessionId)) { return $this->_validateResult($this->_dllZone->delete($zoneId)); } else { return false; } }