mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
load schema_proc from api for .16
This commit is contained in:
parent
363936013e
commit
6a1b96229c
@ -185,7 +185,7 @@
|
|||||||
}
|
}
|
||||||
else // import
|
else // import
|
||||||
{
|
{
|
||||||
$schema_app = $this->editor->stable ? 'etemplate' : 'phpgwapi'; // this is for 0.9.14
|
$schema_app = !file_exists(PHPGW_API_INC.'/class.schema_proc.inc.php') ? 'etemplate' : 'phpgwapi'; // this is for 0.9.14
|
||||||
$oProc = CreateObject($schema_app.'.schema_proc',$GLOBALS['phpgw_info']['server']['db_type']);
|
$oProc = CreateObject($schema_app.'.schema_proc',$GLOBALS['phpgw_info']['server']['db_type']);
|
||||||
$oProc->m_odb = $GLOBALS['phpgw']->db;
|
$oProc->m_odb = $GLOBALS['phpgw']->db;
|
||||||
$oProc->m_oTranslator->_GetColumns($oProc,$content['new_table_name'],$nul);
|
$oProc->m_oTranslator->_GetColumns($oProc,$content['new_table_name'],$nul);
|
||||||
|
Loading…
Reference in New Issue
Block a user