format_string() applied once deleting courses...

Merged from HEAD
This commit is contained in:
stronk7
2005-05-29 17:32:18 +00:00
parent 3d8a508910
commit 83c5e8f6b1
+1 -1
View File
@@ -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;
}
}