public static function remove_related_competency($competencyid, $relatedcompetencyid) {
        $params = self::validate_parameters(self::remove_related_competency_parameters(), array(
            'competencyid' => $competencyid,
            'relatedcompetencyid' => $relatedcompetencyid
        ));
        $competency = api::read_competency($params['competencyid']);
        self::validate_context($competency->get_context());

        return api::remove_related_competency($params['competencyid'], $params['relatedcompetencyid']);
    }
public static function remove_related_competency($competencyid, $relatedcompetencyid) {
        $params = self::validate_parameters(self::remove_related_competency_parameters(), array(
            'competencyid' => $competencyid,
            'relatedcompetencyid' => $relatedcompetencyid
        ));
        $competency = api::read_competency($params['competencyid']);
        self::validate_context($competency->get_context());

        return api::remove_related_competency($params['competencyid'], $params['relatedcompetencyid']);
    }
public static function remove_related_competency ( $ competencyid , $ relatedcompetencyid ) { $ params = self :: validate_parameters ( self :: remove_related_competency_parameters ( ) , array ( 'competencyid' => $ competencyid , 'relatedcompetencyid' => $ relatedcompetencyid ) ) ; $ competency = api :: read_competency ( $ params [ 'competencyid' ] ) ; self :: validate_context ( $ competency -> get_context ( ) ) ; return api :: remove_related_competency ( $ params [ 'competencyid' ] , $ params [ 'relatedcompetencyid' ] ) ; }
Removes a related competency.

@param int $competencyid
@param int $relatedcompetencyid
@return bool
Removes a related competency .