reverted call to non-existent static methods in 1.6, introduced with revision 28325. These methods currently just exist in trunk.

This commit is contained in:
Christian Binder 2010-01-02 13:50:32 +00:00
parent 2ac41f2803
commit 7d49fe21b8
2 changed files with 5 additions and 3 deletions

View File

@ -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))

View File

@ -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;