mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
Added parent::onBeforeDelete() - without this, it breaks!
This commit is contained in:
parent
ff9662f9f5
commit
652c0af4c2
@ -46,6 +46,8 @@ class MultiFormSession extends DataObject {
|
|||||||
if($steps) foreach($steps as $step) {
|
if($steps) foreach($steps as $step) {
|
||||||
$step->delete();
|
$step->delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
parent::onBeforeDelete();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user