예제 #1
0
 /**
  * Code to be run after updating the object in database
  * @param PropelPDO $con
  */
 public function postUpdate(PropelPDO $con = null)
 {
     if ($this->alreadyInSave) {
         return parent::postUpdate($con);
     }
     $syncFlavorParamsIds = false;
     if ($this->isColumnModified(assetPeer::STATUS)) {
         $syncFlavorParamsIds = true;
     }
     $ret = parent::postUpdate($con);
     if ($syncFlavorParamsIds) {
         $this->syncEntryFlavorParamsIds();
     }
     return $ret;
 }