Merge pull request #23166 from atm-lena/16.0_FIX_DeleteMOAndLinks
Delete MO : object's links must be deleted
This commit is contained in:
commit
f1d83b695a
@ -9455,6 +9455,12 @@ abstract class CommonObject
|
||||
}
|
||||
}
|
||||
|
||||
// Delete linked object
|
||||
$res = $this->deleteObjectLinked();
|
||||
if ($res < 0) {
|
||||
$error++;
|
||||
}
|
||||
|
||||
if (!$error && !empty($this->isextrafieldmanaged)) {
|
||||
$result = $this->deleteExtraFields();
|
||||
if ($result < 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user