Skip to content

Commit

Permalink
Always call parent's on_deleting, otherwise autodelete_dependents won…
Browse files Browse the repository at this point in the history
…'t work
  • Loading branch information
flack committed Dec 15, 2017
1 parent a7c0a82 commit 91229ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/org/openpsa/calendar/event.php
Expand Up @@ -394,7 +394,7 @@ public function _on_deleting()
//Remove event parameters //Remove event parameters
midcom::get()->auth->drop_sudo(); midcom::get()->auth->drop_sudo();


return true; return parent::_on_deleting();
} }


/** /**
Expand Down
2 changes: 1 addition & 1 deletion lib/org/openpsa/contacts/person.php
Expand Up @@ -76,7 +76,7 @@ public function _on_updated()
public function _on_deleting() public function _on_deleting()
{ {
// FIXME: Call duplicate checker's dependency handling methods // FIXME: Call duplicate checker's dependency handling methods
return true; return parent::_on_deleting();
} }


public function get_label_property() public function get_label_property()
Expand Down

0 comments on commit 91229ce

Please sign in to comment.