don't make a redirect anymore, just call the class/functions directly

This commit is contained in:
Lars Kneschke 2003-12-22 12:17:42 +00:00
parent 65d2177084
commit 83a544901b

View File

@ -32,12 +32,14 @@
} }
$parms = Array( $parms = Array(
'menuaction'=> 'calendar.uicalendar.index', # 'menuaction'=> 'calendar.uicalendar.index',
'date' => date('Ymd',$GLOBALS['phpgw']->datetime->users_localtime) 'date' => date('Ymd',$GLOBALS['phpgw']->datetime->users_localtime)
); );
//echo 'Local DateTime: '.date('Ymd H:i:s',$GLOBALS['phpgw']->datetime->users_localtime).'<br>'."\n"; //echo 'Local DateTime: '.date('Ymd H:i:s',$GLOBALS['phpgw']->datetime->users_localtime).'<br>'."\n";
$GLOBALS['phpgw']->redirect_link('/index.php',$parms); # $GLOBALS['phpgw']->redirect_link('/index.php',$parms);
$GLOBALS['phpgw']->common->phpgw_exit(); # $GLOBALS['phpgw']->common->phpgw_exit();
ExecMethod('calendar.uicalendar.index',$parms);
?> ?>