This should be the case for consistency with the file_copy() function and also because it would be useful.
Explain further? Looks to me that file_copy() does not return an object either, but rather a status code.
Moving from x.y.z queue to 6.x-dev.
I'm assuming that you didn't mean to close this, since you were moving this to a new queue.
as much as i'd love to hijack this issue just for the super low nid, at this point it's a duplicate of #142995: Add hook_file and make files into a 1st class Drupal object.
forgot the status
Comments
Comment #1
jonbob commentedExplain further? Looks to me that file_copy() does not return an object either, but rather a status code.
Comment #2
coreb commentedMoving from x.y.z queue to 6.x-dev.
Comment #3
Crell commentedI'm assuming that you didn't mean to close this, since you were moving this to a new queue.
Comment #4
pasqualleComment #5
drewish commentedas much as i'd love to hijack this issue just for the super low nid, at this point it's a duplicate of #142995: Add hook_file and make files into a 1st class Drupal object.
Comment #6
drewish commentedforgot the status