mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
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:
parent
4bbae0e6f7
commit
a29965b1ea
@ -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);
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user