mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
MDL-14295 - reverting commit, fixed by MDL14293
This commit is contained in:
parent
8beb1216a5
commit
666744d71d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user