uiinfolog --> infolog_ui

This commit is contained in:
Ralf Becker 2008-10-07 12:56:18 +00:00
parent 7f9df0d051
commit fa1996a0c9

View File

@ -680,9 +680,11 @@ function &CreateObject($class)
static $replace = array(
'datetime' => 'egw_datetime',
'uitimesheet' => 'timesheet_ui',
'uiinfolog' => 'infolog_ui',
);
if (isset($replace[$classname]))
{
error_log(__METHOD__."('$class') old classname '$classname' used in menuaction=$_GET[menuaction]!");
$classname = $replace[$classname];
include_once(EGW_INCLUDE_ROOT.'/'.$appname.'/inc/class.'.$classname.'.inc.php');
}