BUG 7835 "PMTables Importing issue" SOLVED

This commit is contained in:
Erik Amaru Ortiz
2011-10-12 19:05:14 -04:00
parent 5b5699dcf5
commit c00514f237
5 changed files with 144 additions and 76 deletions

View File

@@ -83,7 +83,7 @@ class PmTable
{
$this->dataSource = self::resolveDbSource($dbsUid);
switch ($dbsUid) {
switch ($this->dataSource) {
case 'workflow':
$this->dbConfig->adapter= DB_ADAPTER;
$this->dbConfig->host = DB_HOST;
@@ -192,10 +192,6 @@ class PmTable
if (is_object($this->dom)) {
return true;
}
if ($this->dataSource == '' || $this->dataSource == 'wf' || !$this->dataSource) {
$this->dataSource = 'workflow';
}
$this->schemaFilename = 'schema.xml';
$this->baseDir = PATH_DB . SYS_SYS . PATH_SEP;