mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
"removed 1.2 compatibility code"
This commit is contained in:
parent
443ef39008
commit
20fe4703ab
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user