Skip to content

Commit

Permalink
MDL-56668 competencies: Correct namespacing of coding_exception
Browse files Browse the repository at this point in the history
  • Loading branch information
micaherne committed Nov 3, 2016
1 parent cad8adc commit fc60769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion competency/classes/user_competency_plan.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public static function get_competency_by_planid($planid, $competencyid) {
$record = $DB->get_record_sql($sql, array($planid, $competencyid));

if (!$record) {
throw new coding_exception('The competency does not belong to this plan: ' . $competencyid . ', ' . $planid);
throw new \coding_exception('The competency does not belong to this plan: ' . $competencyid . ', ' . $planid);
}

return new competency(0, $record);
Expand Down

0 comments on commit fc60769

Please sign in to comment.