Skip to content
Snippets Groups Projects
Commit c5b686f4 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fix namespace issue, re #1278

parent f8b7d234
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ class CoursewareContext extends Context ...@@ -37,7 +37,7 @@ class CoursewareContext extends Context
return \Context::COURSE; return \Context::COURSE;
} }
throw new UnexpectedValueException("Unknown context type {$this->context}"); throw new \UnexpectedValueException("Unknown context type {$this->context}");
} }
public function getContextFullname($format = 'default') public function getContextFullname($format = 'default')
...@@ -54,7 +54,7 @@ class CoursewareContext extends Context ...@@ -54,7 +54,7 @@ class CoursewareContext extends Context
return $course->getFullname($format); return $course->getFullname($format);
} }
throw new UnexpectedValueException("Unknown context {$this->context}"); throw new \UnexpectedValueException("Unknown context {$this->context}");
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment