mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
$GLOBALS['phpgw --> $GLOBALS['egw
This commit is contained in:
parent
d43bf7d44f
commit
84ab716959
@ -44,12 +44,12 @@
|
||||
*/
|
||||
function schema_proc($dbms=False)
|
||||
{
|
||||
$this->m_odb = is_object($GLOBALS['phpgw']->db) ? $GLOBALS['phpgw']->db : $GLOBALS['phpgw_setup']->db;
|
||||
$this->m_odb = is_object($GLOBALS['egw']->db) ? $GLOBALS['egw']->db : $GLOBALS['egw_setup']->db;
|
||||
$this->m_odb->connect();
|
||||
|
||||
$this->sType = $dbms ? $dmbs : $this->m_odb->Type;
|
||||
|
||||
$this->adodb = &$GLOBALS['phpgw']->ADOdb;
|
||||
$this->adodb = &$GLOBALS['egw']->ADOdb;
|
||||
$this->dict = NewDataDictionary($this->adodb);
|
||||
|
||||
// enable the debuging in ADOdb's datadictionary if the debug-level is greater then 1
|
||||
@ -644,7 +644,7 @@
|
||||
* @param mixed $line the line method was called from - use __LINE__
|
||||
* @param string $file the file method was called from - use __FILE__
|
||||
* @param int $offset row to start from
|
||||
* @param int $num_rows number of rows to return (optional), if unset will use $GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs']
|
||||
* @param int $num_rows number of rows to return (optional), if unset will use $GLOBALS['egw_info']['user']['preferences']['common']['maxmatchs']
|
||||
* @return ADORecordSet or false, if the query fails
|
||||
*/
|
||||
function query($sQuery, $line='', $file='')
|
||||
|
Loading…
Reference in New Issue
Block a user