/** * Delete a folder. * * WARNING: Do not use this call in case there is still data present in the * folder. You are required to empty any data set *before* removing the * folder. Otherwise there is no guarantee you can adhere to that Kolab * specification that might require the triggering of remote systems to * inform them about the removal of the folder. * * @param string $folder The path of the folder to delete. * * @return NULL */ public function deleteFolder($folder) { $this->_driver->delete($folder); foreach ($this->_listeners as $listener) { $listener->updateAfterDeleteFolder($folder); } }
/** * Delete the specified folder. * * @param string $folder The folder to delete. * * @return NULL */ public function delete($folder) { $this->_driver->delete($folder); }