*

jcarrolo01

  • ***
  • 114 posts
Expired listings are not deleted
« on: February 25, 2019, 10:31:03 AM »
Dear all 

In republish tab i set the expiring listings should be deleted after 7 days ... but i realize i have expired linting at 1 & 2 month and that listings never be deleted, they still theree...

And yes, i have daily, weekly ang hourly cron jobs set

Best regards
Joao


Marked as best answer by frosticek on February 26, 2019, 03:49:43 PM
*

MB Themes

Re: Expired listings are not deleted
« Reply #1 on: February 25, 2019, 01:13:20 PM »
@jcarrolo01
It is removing only listings that should be removed "today"

oc-content/plugins/backoffice_manager/index.php

Try to change:
Code: [Select]
if($delete_date == $today) {
Into:
Code: [Select]
if($delete_date <= $today) {
This will remove listings those delete date is today or sooner, but make sure to backup your db.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

jcarrolo01

  • ***
  • 114 posts
Re: Expired listings are not deleted
« Reply #2 on: February 25, 2019, 08:10:57 PM »
Thanks allot for you reply....



Best Regards
João Carrolo