/** * Bypass the soft_delete behavior and force a hard delete of the current object */ public function forceDelete(PropelPDO $con = null) { if($isSoftDeleteEnabled = AbsenceEleveTraitementPeer::isSoftDeleteEnabled()) { AbsenceEleveTraitementPeer::disableSoftDelete(); } $this->delete($con); if ($isSoftDeleteEnabled) { AbsenceEleveTraitementPeer::enableSoftDelete(); } }