From a29965b1ea7b41374f9a59face5dd31de16c45d1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 27 Mar 2003 18:39:49 +0000 Subject: [PATCH] added a local var $oProc as reference to the global one, to be compatible with old-style default_records.inc.php --- phpgwapi/inc/class.setup_process.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.setup_process.inc.php b/phpgwapi/inc/class.setup_process.inc.php index fe885978a7..ce085d194b 100644 --- a/phpgwapi/inc/class.setup_process.inc.php +++ b/phpgwapi/inc/class.setup_process.inc.php @@ -334,6 +334,7 @@ echo '
process->default_records(): Including default records for ' . $appname . "\n"; } $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_begin(); + $oProc = &$GLOBALS['phpgw_setup']->oProc; // to be compatible with old apps include ($appdir.'default_records.inc.php'); $GLOBALS['phpgw_setup']->oProc->m_odb->transaction_commit(); } @@ -795,4 +796,4 @@ return array($arr,$pk,$fk,$ix,$uc); } } -?> \ No newline at end of file +?>