public function preDelete(PropelPDO $con = null) { $this->updateCategroy(true); return parent::preDelete(); }