Example #1
0
 /**
  * Update the aggregate column in the related Group object
  *
  * @param ConnectionInterface $con A connection object
  */
 protected function updateRelatedGroupSkillCount(ConnectionInterface $con)
 {
     if ($group = $this->getGroup()) {
         $group->updateSkillCount($con);
     }
     if ($this->oldGroupSkillCount) {
         $this->oldGroupSkillCount->updateSkillCount($con);
         $this->oldGroupSkillCount = null;
     }
 }