Path of third party, report tables, triggers

This commit is contained in:
hjonathan
2017-08-04 11:54:39 -04:00
parent 53f1350a89
commit 3a8194a412
5 changed files with 8 additions and 14 deletions

View File

@@ -811,20 +811,12 @@ class ReportTables
*/
public function tableExist ()
{
/*
$bExists = true;
$oConnection = mysql_connect(DB_HOST, DB_USER, DB_PASS);
mysql_select_db(DB_NAME);
$oDataset = mysql_query('SELECT COUNT(*) FROM REPORT_TABLE') || ($bExists = false);
return $bExists;
*/
$bExists = true;
$sDataBase = 'database_' . strtolower( DB_ADAPTER );
if (G::LoadSystemExist( $sDataBase )) {
$oDataBase = new database();
$bExists = $oDataBase->reportTableExist();
}
$oDataBase = new database();
$bExists = $oDataBase->reportTableExist();
return $bExists;
}

View File

@@ -37,7 +37,9 @@
*
* @package workflow.engine.classes.model
*/
class Dynaform extends BaseDynaform
class Dynaform
extends BaseDynaform
{
/**
* This value goes in the content table