MDL-38593 Merge code from /course/category.php into /course/index.php

This commit is contained in:
Marina Glancy
2013-04-09 12:21:05 +10:00
parent 422f68fb86
commit 30142c1905
11 changed files with 71 additions and 105 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ $editform = new course_edit_form(NULL, array('course'=>$course, 'category'=>$cat
if ($editform->is_cancelled()) {
switch ($returnto) {
case 'category':
$url = new moodle_url($CFG->wwwroot.'/course/category.php', array('id'=>$categoryid));
$url = new moodle_url($CFG->wwwroot.'/course/index.php', array('categoryid' => $categoryid));
break;
case 'catmanage':
$url = new moodle_url($CFG->wwwroot.'/course/manage.php', array('id'=>$categoryid));