This should be the case for consistency with the file_copy() function and also because it would be useful.

Comments

jonbob’s picture

Category: bug » feature

Explain further? Looks to me that file_copy() does not return an object either, but rather a status code.

coreb’s picture

Version: x.y.z » 6.x-dev
Status: Active » Closed (fixed)

Moving from x.y.z queue to 6.x-dev.

Crell’s picture

Status: Closed (fixed) » Active

I'm assuming that you didn't mean to close this, since you were moving this to a new queue.

pasqualle’s picture

Version: 6.x-dev » 7.x-dev
Component: base system » file system
drewish’s picture

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.

drewish’s picture

Status: Active » Closed (duplicate)

forgot the status