/** * Delete an object. * * @param string $guid The GUID of the object to be deleted. * * @return NULL * * @throws Horde_Kolab_Server_Exception */ public function delete($guid) { $this->_server->delete($guid); if (in_array($guid, $this->_added)) { $this->_added = array_diff($this->_added, array($guid)); } }
/** * Delete an object. * * @param string $guid The GUID of the object to be deleted. * * @return NULL * * @throws Horde_Kolab_Server_Exception */ public function delete($guid) { try { $this->_server->delete($guid); $this->_logger->debug(sprintf("The object \"%s\" has been successfully deleted!", $guid)); } catch (Horde_Kolab_Server_Exception $e) { $this->_logger->warn(sprintf("Failed deleting object \"%s\"! Error: %s", $object->getGuid(), $e->getMessage())); } }
/** * Delete an object. * * @param string $guid The GUID of the object to be deleted. * * @return NULL * * @throws Horde_Kolab_Server_Exception */ public function delete($guid) { $this->_server->delete($guid); if (!isset($this->_count['delete'])) { $this->_count['delete'] = 1; } else { $this->_count['delete']++; } }
/** * Delete an object. * * @param string $guid The GUID of the object to be deleted. * * @return NULL * * @throws Horde_Kolab_Server_Exception */ public function delete($guid) { $this->_server->delete($guid); }