]> git.mjollnir.org Git - moodle.git/commit
course/lib: print_courses() - no need to worry about sitecourse
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:49:23 +0000 (07:49 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:49:23 +0000 (07:49 +0000)
commit55c47e48a9f580aa02328d4713b42d8872a49674
tree6409d9edb440f5d546360eac9c96d5da4fd9017c
parente89f157b0ac7e15193e6a2897faf435737baf597
course/lib: print_courses() - no need to worry about sitecourse

get_courses_wmanagers() excludes the sitecourse, so we no longer
check for it. And check explicitly for an empty course array.
course/lib.php