Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

export filename does not now have .txt extension - this is selected b…

…y overridable

method on format.php
  • Loading branch information...
commit a0ffa51354f5075c5f6bb382f6fd3009a792526e 1 parent 3cb21c9
thepurpleblob authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/quiz/lib.php
View
4 mod/quiz/lib.php
@@ -1852,8 +1852,8 @@ function default_export_filename($course,$category) {
$export_name .= strtolower($export_categoryname)."-";
//The date format
$export_name .= userdate(time(),$export_date_format,99,false);
- //The extension
- $export_name .= ".txt";
+ //The extension - no extension, supplied by format
+ // $export_name .= ".txt";
return $export_name;
}
Please sign in to comment.
Something went wrong with that request. Please try again.