1
0
mirror of synced 2024-12-13 14:56:01 +03:00

fixes #92 (and second test of post-commit script...)

This commit is contained in:
pookey 2006-09-21 14:40:13 +00:00
parent 2ff5d01f7d
commit 3db504e899

View File

@ -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);