Permalink
Browse files

Always call parent's on_deleting, otherwise autodelete_dependents won…

…'t work
  • Loading branch information...
flack committed Dec 15, 2017
1 parent a7c0a82 commit 91229cec465558a3ee553bf937bc8c8ab5eea1fc
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/org/openpsa/calendar/event.php
  2. +1 −1 lib/org/openpsa/contacts/person.php
@@ -394,7 +394,7 @@ public function _on_deleting()
//Remove event parameters
midcom::get()->auth->drop_sudo();
return true;
return parent::_on_deleting();
}
/**
@@ -76,7 +76,7 @@ public function _on_updated()
public function _on_deleting()
{
// FIXME: Call duplicate checker's dependency handling methods
return true;
return parent::_on_deleting();
}
public function get_label_property()

0 comments on commit 91229ce

Please sign in to comment.