Add more checks to deleteContact

Authored by jbbgameich on Sep 13 2019, 7:08 PM.

Description

Add more checks to deleteContact

Summary: Deleting files without checking whether the path is in our vcards location or whether this data source is responsible at all is probably a bad idea.

Test Plan: Deleting still works in plasma-phonebook

Reviewers: apol

Reviewed By: apol

Differential Revision: https://phabricator.kde.org/D23933

Details

Committed
jbbgameichSep 15 2019, 7:18 PM
Reviewer
apol
Differential Revision
D23933: Add more checks to deleteContact
Parents
R732:f29a760485cd: Improve test coverage
Branches
Unknown
Tags
Unknown