public function delete(PropelPDO $con = null) { $con->beginTransaction(); try { TestableAggregateCommentQuery::create()->filterByPrimaryKey($this->getPrimaryKey())->delete($con); $con->commit(); $this->setDeleted(true); } catch (PropelException $e) { $con->rollBack(); throw $e; } }