forked from extern/egroupware
fixed all methods of common class are static
This commit is contained in:
parent
b7c989adf8
commit
f45c1e7d53
@ -258,7 +258,7 @@ class egw extends egw_minimal
|
|||||||
// output the header unless the developer turned it off
|
// output the header unless the developer turned it off
|
||||||
if (!@$GLOBALS['egw_info']['flags']['noheader'])
|
if (!@$GLOBALS['egw_info']['flags']['noheader'])
|
||||||
{
|
{
|
||||||
$GLOBALS['egw']->common->egw_header();
|
common::egw_header();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load the (depricated) app include files if they exists
|
// Load the (depricated) app include files if they exists
|
||||||
@ -706,7 +706,7 @@ class egw_minimal
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'template': // need to be instancated for the current app
|
case 'template': // need to be instancated for the current app
|
||||||
if (!($tpl_dir = $GLOBALS['egw']->common->get_tpl_dir($this->currentapp)))
|
if (!($tpl_dir = common::get_tpl_dir($this->currentapp)))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user