function imce_delete_file

cis7 imce.page.inc imce_delete_file($filename, &$imce)
cle7 imce.page.inc imce_delete_file($filename, &$imce)
elmsmedia7 imce.page.inc imce_delete_file($filename, &$imce)
icor7 imce.page.inc imce_delete_file($filename, &$imce)
meedjum_blog7 imce.page.inc imce_delete_file($filename, &$imce)
mooc7 imce.page.inc imce_delete_file($filename, &$imce)

Deletes a file in the file list.

1 string reference to 'imce_delete_file'
imce_delete_submit in sites/all/modules/ulmus/imce/inc/imce.page.inc
Submit delete form.

File

sites/all/modules/ulmus/imce/inc/imce.page.inc, line 398
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;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.