forked from extern/egroupware
small fix
This commit is contained in:
parent
0ddb73fddb
commit
bf5275949e
@ -80,10 +80,9 @@ if ($do_replace)
|
|||||||
$modernize = array(
|
$modernize = array(
|
||||||
// saves an unnecessary copy
|
// saves an unnecessary copy
|
||||||
'= CreateObject' => '=& CreateObject',
|
'= CreateObject' => '=& CreateObject',
|
||||||
'= CreateObject' => '=& CreateObject',
|
|
||||||
'= new' => '=& new',
|
'= new' => '=& new',
|
||||||
// php5 cloning of the DB object
|
// php5 cloning of the DB object
|
||||||
'= $GLOBALS[\'egw\']->db;' => '= clone($GLOBALS[\'egw\']->db);',
|
'= $GLOBALS[\'phpgw\']->db;' => '= clone($GLOBALS[\'egw\']->db);',
|
||||||
'= $this->db;' => '= clone($this->db);',
|
'= $this->db;' => '= clone($this->db);',
|
||||||
// remove windows lineends (CR)
|
// remove windows lineends (CR)
|
||||||
"\r" => '',
|
"\r" => '',
|
||||||
@ -108,7 +107,7 @@ if (!$no_phpgw)
|
|||||||
'$phpgw_info[' => '$GLOBALS[\'egw_info\'][',
|
'$phpgw_info[' => '$GLOBALS[\'egw_info\'][',
|
||||||
'$GLOBALS[\'phpgw\']' => '$GLOBALS[\'egw\']',
|
'$GLOBALS[\'phpgw\']' => '$GLOBALS[\'egw\']',
|
||||||
'$GLOBALS["phpgw"]' => '$GLOBALS[\'egw\']',
|
'$GLOBALS["phpgw"]' => '$GLOBALS[\'egw\']',
|
||||||
'$phpgw[' => '$GLOBALS[\'egw\'][',
|
'$phpgw->' => '$GLOBALS[\'egw\']->',
|
||||||
'common->phpgw_header' => 'common->egw_header',
|
'common->phpgw_header' => 'common->egw_header',
|
||||||
'common->phpgw_footer' => 'common->egw_footer',
|
'common->phpgw_footer' => 'common->egw_footer',
|
||||||
'common->phpgw_exit' => 'common->egw_exit',
|
'common->phpgw_exit' => 'common->egw_exit',
|
||||||
|
Loading…
Reference in New Issue
Block a user