function filehash_file_insert in File Hash 7
Same name and namespace in other branches
- 8 filehash.module \filehash_file_insert()
Implements hook_file_insert().
File
- ./
filehash.module, line 56 - Generate hashes for each uploaded file.
Code
function filehash_file_insert($file) {
filehash_save($file);
}