EditDeleteTrait
"Delete advert" section.
Tags
Table of Contents
Methods
- handleDeleteAdvert() : void
- Handles the advert deletion signal.
Methods
handleDeleteAdvert()
Handles the advert deletion signal.
public
handleDeleteAdvert() : void
Soft delete: sets the column deleted = 1 (same as the cron deleteLongExpired).
Editing cannot continue after deletion, so it redirects to the homepage.