| 3653 | } |
| 3654 | |
| 3655 | bool WizDatabase::deleteGroupFolder(const WIZTAGDATA& data, bool bLog) |
| 3656 | { |
| 3657 | CWizTagDataArray arrayChildTag; |
| 3658 | getChildTags(data.strGUID, arrayChildTag); |
| 3659 | foreach (const WIZTAGDATA& childTag, arrayChildTag) |
| 3660 | { |
| 3661 | deleteGroupFolder(childTag, bLog); |
| 3662 | } |
| 3663 | |
| 3664 | CWizDocumentDataArray arrayDocument; |
| 3665 | getDocumentsByTag(data, arrayDocument); |
| 3666 | |
| 3667 | for (WIZDOCUMENTDATAEX doc : arrayDocument) |
| 3668 | { |
| 3669 | WizDocument document(*this, doc); |
| 3670 | document.deleteToTrash(); |
| 3671 | } |
| 3672 | |
| 3673 | return deleteTag(data, bLog); |
| 3674 | } |
| 3675 | |
| 3676 | bool WizDatabase::isDocumentModified(const CString& strGUID) |
| 3677 | { |
no test coverage detected