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