Fixed Wrong Thread TypeHandler function called on post hard delete

DragonByte Tech

Well-known member
Affected version
2.2.0
Inside XF\Entity\Post in protected function _postDelete():
PHP:
$thread->TypeHandler->onPostSave($thread, $this);
Should be
PHP:
$thread->TypeHandler->onPostDelete($thread, $this);
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.0 Beta 2).

Change log:
Call `onPostDelete()` not `onPostSave()` during the delete handler
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom