| 3637 | |
| 3638 | |
| 3639 | bool WizDatabase::deleteAttachment(const WIZDOCUMENTATTACHMENTDATA& data, |
| 3640 | bool bLog, bool bReset, bool updateAttachList) |
| 3641 | { |
| 3642 | CString strFileName = getAttachmentFileName(data.strGUID); |
| 3643 | bool bRet = WizIndex::deleteAttachment(data, bLog, bReset, updateAttachList); |
| 3644 | if (WizPathFileExists(strFileName)) { |
| 3645 | ::WizDeleteFile(strFileName); |
| 3646 | } |
| 3647 | |
| 3648 | if (updateAttachList) { |
| 3649 | emit attachmentsUpdated(); |
| 3650 | } |
| 3651 | |
| 3652 | return bRet; |
| 3653 | } |
| 3654 | |
| 3655 | bool WizDatabase::deleteGroupFolder(const WIZTAGDATA& data, bool bLog) |
| 3656 | { |
no test coverage detected