course publication MDL-22762 improve the publication confirmation/error message

This commit is contained in:
jerome mouneyrac 2010-06-22 04:01:33 +00:00
parent f00340e2ca
commit de832702ad
3 changed files with 8 additions and 6 deletions

View file

@ -217,7 +217,8 @@ if (has_capability('moodle/course:publish', get_context_instance(CONTEXT_COURSE,
} else {
//redirect to the index publis page
redirect(new moodle_url('/course/publish/index.php',
array('sesskey' => sesskey(), 'id' => $id, 'published' => true)));
array('sesskey' => sesskey(), 'id' => $id, 'published' => true,
'hubname' => $hubname, 'huburl' => $huburl)));
}
}