Ana Sayfa / Eklentiler / Osclass Remove Expired Images

Osclass Remove Expired Images

Osclass için süresi dolmuş ilanların tüm görsellerini haftada bir kez kaldıran eklenti.

  • Yayın tarihi16 Nisan 2022
  • Paket içeriği.php
  • Son güncelleme16 Nisan 2022
Osclass Remove Expired Images

Overview

Plugin for Osclass that once per week removes all images for expired ads. Job is triggered by cron_weekly hook.

When the job is triggered, it check in the DB all expired ads and retreve the list of the resources (images) for all ads thet are expired.

Job removes all images and then removes all resource entries from t_item_resource table. So after removal add will be dispaled with no images inside.

All removed file names are loged in the 'expiredImages.log' file in the root folder of your site.