Download & Extend

file_move() should return the new object on success

Project:Drupal core
Version:7.x-dev
Component:file system
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

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

Comments

#1

Category:bug report» feature request

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

#2

Version:x.y.z» 6.x-dev
Status:active» closed (fixed)

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

#3

Status:closed (fixed)» active

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

#4

Version:6.x-dev» 7.x-dev
Component:base system» file system

#5

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.

#6

Status:active» closed (duplicate)

forgot the status

nobody click here