Commit 154e4c31 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Delete from artefact_comment_comment table when deleting comments (bug #629156)


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 5dc631e3
......@@ -171,6 +171,7 @@ class ArtefactTypeComment extends ArtefactType {
}
db_begin();
$this->detach();
delete_records('artefact_comment_comment', 'artefact', $this->id);
parent::delete();
db_commit();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment