mirror of
https://github.com/moodle/moodle.git
synced 2025-04-29 21:09:52 +02:00
New courses are logged to the site log
This commit is contained in:
parent
a9222637f4
commit
005d0078cb
@ -103,7 +103,7 @@
|
||||
$section->id = insert_record("course_sections", $section);
|
||||
|
||||
fix_course_sortorder();
|
||||
add_to_log($newcourseid, "course", "new", "view.php?id=$newcourseid", "");
|
||||
add_to_log(SITEID, "course", "new", "view.php?id=$newcourseid", "$form->fullname (ID $newcourseid)");
|
||||
|
||||
if (isadmin()) { // Redirect admin to add teachers
|
||||
redirect("teacher.php?id=$newcourseid", get_string("changessaved"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user