BUG 000 BUG 000 momentarily reverted to rc5 for pmTables (Win env compatibility

+ fixes for a unused transaction
This commit is contained in:
Erik Amaru Ortiz
2011-09-06 13:07:03 -04:00
parent 10b98b0285
commit e9296320dc

View File

@@ -549,9 +549,7 @@ class pmTablesProxy extends HttpProxyController
eval('$obj = new ' .$this->className. '();');
if (count($row) > 0) {
try {
eval('$con = Propel::getConnection('.$this->classPeerName.'::DATABASE_NAME);');
$con->begin();
$obj->fromArray($row, BasePeer::TYPE_FIELDNAME);
if ($obj->validate()) {
@@ -570,11 +568,6 @@ class pmTablesProxy extends HttpProxyController
}
throw new PropelException($msg);
}
}
catch(Exception $e) {
$con->rollback();
throw new Exception($e->getMessage());
}
$index = G::encrypt(implode('-', $primaryKeysValues), 'pmtable');
}
else {