forked from extern/egroupware
using GLOBALS, also helps php3 compat
This commit is contained in:
parent
7e6c8e5ab4
commit
41c87c6cff
@ -11,19 +11,17 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
global $phpgw_info,$phpgw;
|
||||
|
||||
if ($phpgw_info['user']['preferences']['infolog']['homeShowEvents'])
|
||||
if ($GLOBALS['phpgw_info']['user']['preferences']['infolog']['homeShowEvents'])
|
||||
{
|
||||
$save_app = $phpgw_info['flags']['currentapp'];
|
||||
$phpgw_info['flags']['currentapp'] = 'infolog';
|
||||
$save_app = $GLOBALS['phpgw_info']['flags']['currentapp'];
|
||||
$GLOBALS['phpgw_info']['flags']['currentapp'] = 'infolog';
|
||||
|
||||
$phpgw->translation->add_app('infolog');
|
||||
$GLOBALS['phpgw']->translation->add_app('infolog');
|
||||
|
||||
global $filter;
|
||||
$filter = 'own+open+today';
|
||||
$infolog = CreateObject('infolog.uiinfolog');
|
||||
$infolog->get_list(True);
|
||||
|
||||
$phpgw_info['flags']['currentapp'] = $save_app;
|
||||
$GLOBALS['phpgw_info']['flags']['currentapp'] = $save_app;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user