removed duplicate preSave listener event - also called in Session
This commit is contained in:
parent
fda1f37067
commit
50cced9e54
@ -695,9 +695,6 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
|
|||||||
final public function save() {
|
final public function save() {
|
||||||
$this->table->getSession()->beginTransaction();
|
$this->table->getSession()->beginTransaction();
|
||||||
|
|
||||||
// listen the onPreSave event
|
|
||||||
$this->table->getAttribute(Doctrine::ATTR_LISTENER)->onPreSave($this);
|
|
||||||
|
|
||||||
$saveLater = $this->table->getSession()->saveRelated($this);
|
$saveLater = $this->table->getSession()->saveRelated($this);
|
||||||
|
|
||||||
$this->table->getSession()->save($this);
|
$this->table->getSession()->save($this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user