public function deleteCompetencyLink(ObjectiveCompetency $link)
    {
        $this->om->remove($link);
        $this->om->flush();
        $this->progressManager->recomputeObjectiveProgress($link->getObjective());
    }
public function deleteCompetencyLink(ObjectiveCompetency $link)
    {
        $this->om->remove($link);
        $this->om->flush();
        $this->progressManager->recomputeObjectiveProgress($link->getObjective());
    }
public function deleteCompetencyLink ( ObjectiveCompetency $ link ) { $ this -> om -> remove ( $ link ) ; $ this -> om -> flush ( ) ; $ this -> progressManager -> recomputeObjectiveProgress ( $ link -> getObjective ( ) ) ; }
Deletes a link between an objective and a competency.

@param ObjectiveCompetency $link
Deletes a link between an objective and a competency .