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