mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-51632 tool_generator: Print URL of the generated course
This commit is contained in:
parent
fd57d685c7
commit
aff1db055f
@ -113,3 +113,7 @@ $backend = new tool_generator_course_backend(
|
||||
FORMAT_HTML
|
||||
);
|
||||
$id = $backend->make();
|
||||
|
||||
if (empty($options['quiet'])) {
|
||||
echo PHP_EOL.'Generated course: '.course_get_url($id).PHP_EOL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user