function imce_delete_file in IMCE 7
Same name and namespace in other branches
- 5 imce.module \imce_delete_file()
- 6.2 inc/imce.page.inc \imce_delete_file()
- 6 inc/page.inc \imce_delete_file()
Deletes a file in the file list.
1 string reference to 'imce_delete_file'
- imce_delete_submit in inc/
imce.page.inc - Submit delete form.
File
- inc/
imce.page.inc, line 453 - Implements the file browser.
Code
function imce_delete_file($filename, &$imce) {
$uri = imce_dir_uri($imce) . $filename;
if (!imce_delete_filepath($uri)) {
return FALSE;
}
imce_remove_file($filename, $imce);
return TRUE;
}