function deleteReport($report) { $dao =& $this->getDao(); $filterFactory = new Docman_FilterFactory($this->groupId); if ($filterFactory->truncateFilters($report)) { return $dao->deleteById($report->getId()); } else { return false; } }
function deleteReport($report) { $dao =& $this->getDao(); $filterFactory = new Docman_FilterFactory($this->groupId); if ($filterFactory->truncateFilters($report)) { return $dao->deleteById($report->getId()); } else { return false; } }