summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Data/ActiveRecord/TActiveRecordGateway.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/Data/ActiveRecord/TActiveRecordGateway.php b/framework/Data/ActiveRecord/TActiveRecordGateway.php
index 6c5bc07c..5df42f59 100644
--- a/framework/Data/ActiveRecord/TActiveRecordGateway.php
+++ b/framework/Data/ActiveRecord/TActiveRecordGateway.php
@@ -258,11 +258,11 @@ class TActiveRecordGateway extends TComponent
*/
public function insert(TActiveRecord $record)
{
- $this->updateAssociatedRecords($record,true);
+ //$this->updateAssociatedRecords($record,true);
$result = $this->getCommand($record)->insert($this->getInsertValues($record));
if($result)
$this->updatePostInsert($record);
- $this->updateAssociatedRecords($record);
+ //$this->updateAssociatedRecords($record);
return $result;
}
@@ -313,10 +313,10 @@ class TActiveRecordGateway extends TComponent
*/
public function update(TActiveRecord $record)
{
- $this->updateAssociatedRecords($record,true);
+ //$this->updateAssociatedRecords($record,true);
list($data, $keys) = $this->getUpdateValues($record);
$result = $this->getCommand($record)->updateByPk($data, $keys);
- $this->updateAssociatedRecords($record);
+ //$this->updateAssociatedRecords($record);
return $result;
}