mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 22:01:47 +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;
|
$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);
|
unset($historylog);
|
||||||
|
|
||||||
$tpl =& new etemplate;
|
$tpl =& new etemplate;
|
||||||
|
Loading…
Reference in New Issue
Block a user