diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2022-07-07 11:58:04 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2022-07-07 11:58:04 +0200 |
| commit | c5b686f4eec460aa80888a2620020188a9f01331 (patch) | |
| tree | f65cacdd7e416024f1408ca5a4c9d34eb712a5bf | |
| parent | f8b7d234c0335e596e86af21f80591c32a1e9d69 (diff) | |
fix namespace issue, re #1278
| -rwxr-xr-x | lib/activities/CoursewareContext.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/activities/CoursewareContext.php b/lib/activities/CoursewareContext.php index 817deb4..7c83144 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}"); } } |
