mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Fixed a hardcoded string (thanks, koen) bug #1022
This commit is contained in:
parent
5c9cbb399e
commit
fed7c5ba94
2 changed files with 2 additions and 1 deletions
|
@ -530,7 +530,7 @@ function assignment_delete_user_files($assignment, $user, $exception) {
|
|||
foreach ($files as $file) {
|
||||
if ($file != $exception) {
|
||||
unlink("$basedir/$file");
|
||||
notify("Existing file '$file' has been deleted!");
|
||||
notify(get_string("existingfiledeleted", "assignment", $file));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue