Osclass Support Forums

Osclass plugin support => Instant Messenger Plugin => Topic started by: atba on October 04, 2021, 07:22:32 PM

Title: Saving correspondence after deleting an update
Post by: atba on October 04, 2021, 07:22:32 PM
Why is the correspondence deleted along with the deleted ad? How can this be changed? Users have to delete ads after a lot of spam. And as a result, it is not possible to find out who is spamming
Title: Re: Saving correspondence after deleting an update
Post by: MB Themes on October 04, 2021, 07:29:43 PM
I would say there is foreign key on fk_i_item_id on thread
Title: Re: Saving correspondence after deleting an update
Post by: atba on October 05, 2021, 06:35:10 AM
I don't quite understand your answer.
Title: Re: Saving correspondence after deleting an update
Post by: MB Themes on October 05, 2021, 10:02:26 AM
@atba
In index.php remove this line:
Code: [Select]
osc_add_hook('delete_item', 'im_delete_threads_item');
Title: Re: Saving correspondence after deleting an update
Post by: atba on October 06, 2021, 06:14:06 AM
Great job!