fixes #92 (and second test of post-commit script...)
This commit is contained in:
parent
2ff5d01f7d
commit
3db504e899
@ -154,6 +154,7 @@ class Doctrine_EventListener_Chain extends Doctrine_Access {
|
||||
$listener->onSaveCascade($record);
|
||||
}
|
||||
}
|
||||
|
||||
public function onPreSaveCascade(Doctrine_Record $record) {
|
||||
foreach($this->listeners as $listener) {
|
||||
$listener->onPreSaveCascade($record);
|
||||
@ -165,6 +166,7 @@ class Doctrine_EventListener_Chain extends Doctrine_Access {
|
||||
$listener->onDeleteCascade($record);
|
||||
}
|
||||
}
|
||||
|
||||
public function onPreDeleteCascade(Doctrine_Record $record) {
|
||||
foreach($this->listeners as $listener) {
|
||||
$listener->onPreDeleteCascade($record);
|
||||
|
Loading…
Reference in New Issue
Block a user