Function __global->_delete_attachment
Definitions
sources/attachments3.php
- Delete the specified attachment.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $id | AUTO_LINK | No | No | required parameter | N/A | N/A | The attachment ID to delete |
| $db | object | No | No | required parameter | cms forum | N/A | The database connector to use |
Preview
Code (PHP)
/**
* Delete the specified attachment.
*
* @param AUTO_LINK $id The attachment ID to delete
* @param object $db The database connector to use
* @set cms forum
*/
function _delete_attachment(int $id, object $db)
* Delete the specified attachment.
*
* @param AUTO_LINK $id The attachment ID to delete
* @param object $db The database connector to use
* @set cms forum
*/
function _delete_attachment(int $id, object $db)

