From 7d49fe21b89b0839a334eff998ca42581fefd6dc Mon Sep 17 00:00:00 2001 From: Christian Binder Date: Sat, 2 Jan 2010 13:50:32 +0000 Subject: [PATCH] reverted call to non-existent static methods in 1.6, introduced with revision 28325. These methods currently just exist in trunk. --- calendar/inc/class.calendar_uiforms.inc.php | 4 ++-- calendar/inc/class.uiholiday.inc.php | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index aa54a9a840..fdf48d9135 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -1652,9 +1652,9 @@ class calendar_uiforms extends calendar_ui } else { - html::content_header('event.ics','text/calendar',bytes($ical)); + $GLOBALS['egw']->browser->content_header('event.ics','text/calendar',bytes($ical)); echo $ical; - common::egw_exit(); + $GLOBALS['egw']->common->egw_exit(); } } if (is_array($content)) diff --git a/calendar/inc/class.uiholiday.inc.php b/calendar/inc/class.uiholiday.inc.php index e2df96b837..36454e446e 100755 --- a/calendar/inc/class.uiholiday.inc.php +++ b/calendar/inc/class.uiholiday.inc.php @@ -479,7 +479,9 @@ if (isset($_GET['download'])) { $locale = $this->bo->locales[0]; - html::content_header("holidays.$locale.csv",'text/text'); + $browser =& CreateObject('phpgwapi.browser'); + $browser->content_header("holidays.$locale.csv",'text/text'); + unset($browser); echo "charset\t".translation::charset()."\n"; $last_year = -1;