mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 19:06:41 +02:00
course publication MDL-22762 improve the publication confirmation/error message
This commit is contained in:
parent
f00340e2ca
commit
de832702ad
3 changed files with 8 additions and 6 deletions
|
@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue