]> git.mjollnir.org Git - moodle.git/commitdiff
portfolio/ replaced course_setup with $PAGE->set_course which seems to have been...
authormjollnir_ <mjollnir_>
Sat, 9 May 2009 13:15:41 +0000 (13:15 +0000)
committermjollnir_ <mjollnir_>
Sat, 9 May 2009 13:15:41 +0000 (13:15 +0000)
portfolio/add.php

index 52b0af25016b60d1fdb78045c5bbc3c325be5ef6..1feb0768ffb443eb5f5b1ed211e2ccc5f5f00db9 100644 (file)
@@ -157,7 +157,7 @@ if (!empty($dataid)) {
     }
 
     // set up the course so that build_navigation works nice
-    course_setup($course);
+    $PAGE->set_course($course);
 
     // and now we know the course for sure, call require_login with it
     require_login($course);