mirror of
https://github.com/moodle/moodle.git
synced 2025-03-17 14:10:08 +01:00
format_string() applied one deleting courses...
This commit is contained in:
parent
94a4301982
commit
7eec33905f
@ -2735,7 +2735,7 @@ function remove_course_contents($courseid, $showfeedback=true) {
|
||||
if ($moddelete($instance->id)) {
|
||||
$count++;
|
||||
} else {
|
||||
notify('Could not delete '. $modname .' instance '. $instance->id .' ('. $instance->name .')');
|
||||
notify('Could not delete '. $modname .' instance '. $instance->id .' ('. format_string($instance->name) .')');
|
||||
$result = false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user