Fixed a hardcoded string (thanks, koen) bug #1022
This commit is contained in:
@@ -20,6 +20,7 @@ $string['description'] = 'Description';
|
||||
$string['duedate'] = 'Due date';
|
||||
$string['duedateno'] = 'No due date';
|
||||
$string['early'] = '$a early';
|
||||
$string['existingfiledeleted'] = 'Existing file has been deleted: $a';
|
||||
$string['failedupdatefeedback'] = 'Failed to update submission feedback for user $a';
|
||||
$string['feedback'] = 'Feedback';
|
||||
$string['feedbackupdated'] = 'Submissions feedback updated for $a people';
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user