mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-6376 - fix minor errors in the previous commit.
More significantly, this patch changes the '1 Students have made 1 attempts' string. To start with, this code was being produced in five different places, so I made a function to do the work!. Next, as you can see, it is not gramatical. Also, some people find it confusing, as in MDL-6376. Therefore, it now just says 'Attempts: 1'. Merged from MOODLE_19_STABLE.
This commit is contained in:
parent
f63d29223e
commit
6c58e1985b
7 changed files with 25 additions and 41 deletions
|
@ -1891,8 +1891,7 @@ function default_export_filename($course,$category) {
|
|||
$export_name .= moodle_strtolower($export_categoryname)."-";
|
||||
//The date format
|
||||
$export_name .= userdate(time(),$export_date_format,99,false);
|
||||
//The extension - no extension, supplied by format
|
||||
// $export_name .= ".txt";
|
||||
//Extension is supplied by format later.
|
||||
|
||||
return $export_name;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue