mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 21:49:28 +01:00
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:
parent
2ac41f2803
commit
7d49fe21b8
@ -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))
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user