[CPHP] Moved PurgeCache function to CPHPDatabaseRecordClass::RefreshData

feature/node-rewrite
Sven Slootweg 13 years ago
parent 536416c9e1
commit 3f9a9d7ee1

@ -36,6 +36,7 @@ abstract class CPHPDatabaseRecordClass extends CPHPBaseClass
public function RefreshData() public function RefreshData()
{ {
$this->PurgeCache();
$this->ConstructDataset($this->sId); $this->ConstructDataset($this->sId);
} }
@ -352,7 +353,6 @@ abstract class CPHPDatabaseRecordClass extends CPHPBaseClass
$this->sId = mysql_insert_id(); $this->sId = mysql_insert_id();
} }
$this->PurgeCache();
$this->RefreshData(); $this->RefreshData();
return $result; return $result;

Loading…
Cancel
Save