Change in form of storage Connection Record for export and import of cases with connections to external databases.

This commit is contained in:
Hector Cortez
2011-01-24 14:20:59 +00:00
parent 1137eb1f18
commit 5f136a681e
8 changed files with 74 additions and 69 deletions

View File

@@ -122,7 +122,7 @@ switch ( $action ){
$_SESSION['_DBArray'] = $_DBArray;
$o = new DbSource();
$aFields = $o->load($_POST['DBS_UID']);
$aFields = $o->load($_POST['DBS_UID'], $_SESSION['PROCESS']);
if ($aFields['DBS_PORT'] == '0') {
$aFields['DBS_PORT'] = '';
}
@@ -178,7 +178,8 @@ switch ( $action ){
$oContent = new Content();
$DBS_UID = $_POST['dbs_uid'];
$oDBSource->remove($DBS_UID);
$PRO_UID = $_SESSION['PROCESS'];
$oDBSource->remove($DBS_UID, $PRO_UID);
$oContent->removeContent('DBS_DESCRIPTION', "", $DBS_UID);
break;