CPosting::DeleteFile( int ID, int file_id = false );
The method DeleteFile deletes one or all attachments of the issue.
Parameter | Description |
---|---|
ID | The issue ID. |
file_id | The attachment ID. If omitted or false, all attachments are deleted. |
No return value.
if(is_array($FILE_ID)) foreach($FILE_ID as $file_id) CPosting::DeleteFile($ID, $file_id);
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |