added a local var $oProc as reference to the global one, to be compatible with old-style default_records.inc.php

This commit is contained in:
Ralf Becker 2003-03-27 18:39:49 +00:00
parent 4bbae0e6f7
commit a29965b1ea

View File

@ -334,6 +334,7 @@
echo '<br>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);
}
}
?>
?>