aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2022-07-07 11:58:04 +0200
committerJan-Hendrik Willms <tleilax+github@gmail.com>2022-07-07 11:58:04 +0200
commitc5b686f4eec460aa80888a2620020188a9f01331 (patch)
treef65cacdd7e416024f1408ca5a4c9d34eb712a5bf
parentf8b7d234c0335e596e86af21f80591c32a1e9d69 (diff)
fix namespace issue, re #1278
-rwxr-xr-xlib/activities/CoursewareContext.php4
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}");
}
}