From bf5275949e9dbffb59a37a42e53a12be04d63b78 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 14 Oct 2005 10:04:41 +0000 Subject: [PATCH] small fix --- doc/modernize.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/modernize.php b/doc/modernize.php index bcb0636548..2660f813b1 100755 --- a/doc/modernize.php +++ b/doc/modernize.php @@ -80,10 +80,9 @@ if ($do_replace) $modernize = array( // saves an unnecessary copy '= CreateObject' => '=& CreateObject', - '= CreateObject' => '=& CreateObject', '= new' => '=& new', // 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);', // remove windows lineends (CR) "\r" => '', @@ -108,7 +107,7 @@ if (!$no_phpgw) '$phpgw_info[' => '$GLOBALS[\'egw_info\'][', '$GLOBALS[\'phpgw\']' => '$GLOBALS[\'egw\']', '$GLOBALS["phpgw"]' => '$GLOBALS[\'egw\']', - '$phpgw[' => '$GLOBALS[\'egw\'][', + '$phpgw->' => '$GLOBALS[\'egw\']->', 'common->phpgw_header' => 'common->egw_header', 'common->phpgw_footer' => 'common->egw_footer', 'common->phpgw_exit' => 'common->egw_exit',