You are here

function upload_unmunge_filename in Drupal 4

Same name and namespace in other branches
  1. 5 modules/upload/upload.module \upload_unmunge_filename()

Undo the effect of upload_munge_filename().

File

modules/upload.module, line 572
File-handling and attaching files to nodes.

Code

function upload_unmunge_filename($filename) {
  return str_replace('_.', '.', $filename);
}