"removed 1.2 compatibility code"

This commit is contained in:
Ralf Becker 2008-06-03 06:22:35 +00:00
parent 443ef39008
commit 20fe4703ab

View File

@ -66,15 +66,6 @@ class historylog_widget
{
$value = $id ? $historylog->search($id) : false;
}
else // compatibilty code for 1.2, can be removed after
{
$value = $historylog->return_array('','','history_id','DESC',$id);
foreach($value as $key => $val)
{
$value[$key]['owner'] = $GLOBALS['egw']->accounts->name2id($val['owner'],'account_lid','u');
$value[$key]['user_ts'] = $val['datetime'] + $GLOBALS['egw']->datetime->tz_offset;
}
}
unset($historylog);
$tpl =& new etemplate;