From: mjollnir_ Date: Tue, 16 Sep 2008 18:17:28 +0000 (+0000) Subject: MDL-16535 - better handling of the expired error X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=06844b49f4e7c740bac186f5a767a0195bbb4908;p=moodle.git MDL-16535 - better handling of the expired error --- diff --git a/lib/portfolio/exporter.php b/lib/portfolio/exporter.php index d7663874c9..5465ef1f00 100644 --- a/lib/portfolio/exporter.php +++ b/lib/portfolio/exporter.php @@ -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; }