downtime theme needs access to user global

This commit is contained in:
Shish 2011-02-23 15:20:09 +00:00
parent 57972632e4
commit 1982740386

View File

@ -13,7 +13,7 @@ class DowntimeTheme extends Themelet {
* Display $message and exit
*/
public function display_message($message) {
global $config;
global $config, $user;
$theme_name = $config->get_string('theme');
$data_href = get_base_href();
$login_link = make_link("user_admin/login");