/** * Logs off * * @access public * @return boolean */ public function Logoff() { if ($this->server != null) { $this->server->disconnect(); unset($this->server); } $this->SaveStorages(); unset($this->contactsetag); unset($this->sinkdata); unset($this->addressbooks); ZLog::Write(LOGLEVEL_DEBUG, "BackendCardDAV->Logoff(): disconnected from CARDDAV server"); return true; }