Classifieds Attachments and Bookmarks are not being deleted when deleting listing

Kirby

Active Member
Method Listing::_postDelete() seems to be missing
PHP:
/** @var \XF\Repository\Attachment $attachRepo */
$attachRepo = $this->repository('XF:Attachment');
$attachRepo->fastDeleteContentAttachments('classifieds_listing', $this->listing_id);

$this->_postDeleteBookmarks();
 
Top