diff --git a/lib/activities/CoursewareContext.php b/lib/activities/CoursewareContext.php index 817deb49d36c39d3236deca694da7258d5345059..7c83144ad7a9739bbbb02ce49efcdf2d7014daa9 100755 --- a/lib/activities/CoursewareContext.php +++ b/lib/activities/CoursewareContext.php @@ -37,7 +37,7 @@ class CoursewareContext extends Context return \Context::COURSE; } - throw new UnexpectedValueException("Unknown context type {$this->context}"); + throw new \UnexpectedValueException("Unknown context type {$this->context}"); } public function getContextFullname($format = 'default') @@ -54,7 +54,7 @@ class CoursewareContext extends Context return $course->getFullname($format); } - throw new UnexpectedValueException("Unknown context {$this->context}"); + throw new \UnexpectedValueException("Unknown context {$this->context}"); } }