forked from extern/egroupware
modernize now removes:
- global $phpgw; - global $phpgw_info; and replaces: - $phpgw -> $GLOBALS['egw'] - $phpgw_info -> $GLOBALS['egw_info']
This commit is contained in:
parent
d240021947
commit
0ddb73fddb
@ -101,10 +101,14 @@ if (!$no_phpgw)
|
||||
$modernize += array(
|
||||
// phpGW --> eGW
|
||||
// done now separate as it is case sensitve 'PHPGW_' => 'EGW_',
|
||||
'global $phpgw_info;' => '',
|
||||
'global $phpgw;' => '',
|
||||
'$GLOBALS[\'phpgw_info\']' => '$GLOBALS[\'egw_info\']',
|
||||
'$GLOBALS["phpgw_info"]' => '$GLOBALS[\'egw_info\']',
|
||||
'$phpgw_info[' => '$GLOBALS[\'egw_info\'][',
|
||||
'$GLOBALS[\'phpgw\']' => '$GLOBALS[\'egw\']',
|
||||
'$GLOBALS["phpgw"]' => '$GLOBALS[\'egw\']',
|
||||
'$phpgw[' => '$GLOBALS[\'egw\'][',
|
||||
'common->phpgw_header' => 'common->egw_header',
|
||||
'common->phpgw_footer' => 'common->egw_footer',
|
||||
'common->phpgw_exit' => 'common->egw_exit',
|
||||
|
Loading…
Reference in New Issue
Block a user