This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

atba

  • ****
  • 193 posts
Saving correspondence after deleting an update
« 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
osclass.by

*

MB Themes

Re: Saving correspondence after deleting an update
« Reply #1 on: October 04, 2021, 07:29:43 PM »
I would say there is foreign key on fk_i_item_id on thread
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

atba

  • ****
  • 193 posts
Re: Saving correspondence after deleting an update
« Reply #2 on: October 05, 2021, 06:35:10 AM »
I don't quite understand your answer.
osclass.by

Marked as best answer by Andrei Dmitrievich on October 06, 2021, 06:14:14 AM
*

MB Themes

Re: Saving correspondence after deleting an update
« Reply #3 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');
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

atba

  • ****
  • 193 posts
Re: Saving correspondence after deleting an update
« Reply #4 on: October 06, 2021, 06:14:06 AM »
Great job!
osclass.by