Remove a single version or all versions of an attachment to
$pageId from the VFS backend.
public removeAttachment ( integer $pageId, string $attachment, string $version = null ) | ||
$pageId | integer | The Id of the page the file is attached to. |
$attachment | string | The name of the file. |
$version | string | If specified, the version to delete. If null, then all versions of $attachment will be removed. |