diff --git a/course/lib.php b/course/lib.php index 6ac809bfc01..2688c31cbb3 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1837,7 +1837,6 @@ function print_courses($category) { function print_course($course) { global $CFG, $USER; - $status = ''; //initiate $status variable to avoid PHP notice see MDL-14295 if (isset($course->context)) { $context = $course->context;