MDL-16535 - better handling of the expired error

This commit is contained in:
mjollnir_
2008-09-16 18:17:28 +00:00
parent c737eed82f
commit 06844b49f4
+3 -1
View File
@@ -766,9 +766,11 @@ class portfolio_exporter {
* through the usage of the backbutton
*/
public static function print_expired_export() {
global $CFG;
$title = get_string('exportexpired', 'portfolio');
print_header($title, $title);
print_header($title, $title, build_navigation(get_string('exportexpired', 'portfolio')));
notify(get_string('exportexpireddesc', 'portfolio'));
print_continue($CFG->wwwroot);
print_footer();
exit;
}