The new log delete function will need our delete rebuilds in place.
Manual Patch:
Open applications/collections/sources/Item/Item.php
Find:
/**
* Delete Record
*
* @return void
*/
Add ABOVE:
/**
* Log for deletion later
*
* \IPS\Member|NULL $member The member or NULL for currently logged in
* @return void
*/
public function logDelete( $member = NULL )
{
parent::logDelete( $member );
if ( $topic = $this->topic() and \IPS\Settings::i()->css_topic_delete )
{
$topic->logDelete( $member );
}
/* Rebuild members item count */
$this->rebuildItemCount();
}
Save.
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.