Function DeleteDraft
Deletes one or many drafts from the DB Validates the drafts are from the user is supplied an array of drafts will attempt to remove all of them
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Drafts.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Drafts.php
integer |
$id_draft |
The ID of the draft to delete |
boolean |
$check = true |
Whether or not to check that the draft belongs to the current user |
boolean
|
False if it couldn't be deleted (doesn't return anything otherwise) |