function imce_file_register in IMCE 6.2
Same name and namespace in other branches
- 7 inc/imce.page.inc \imce_file_register()
Registers the file as an IMCE file.
2 calls to imce_file_register()
- imce_resize_image in inc/
imce.page.inc - Resize an image in the file list. Also used for thumbnail creation.
- imce_upload_submit in inc/
imce.page.inc - Submit upload form.
File
- inc/
imce.page.inc, line 1133 - Implements the file browser.
Code
function imce_file_register($file) {
return $file->fid && @db_query('INSERT INTO {imce_files} (fid) VALUES(%d)', $file->fid);
}