You are here

function upload_unmunge_filename in Drupal 5

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

Undo the effect of upload_munge_filename().

File

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

Code

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