Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
upload.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Dec 2008 at 20:38 UTC
Updated:
8 Feb 2009 at 22:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Crell commentedThe $fields array for the insert query in the last hunk should be inline in the fields() method, to be consistent with the rest of core. That is:
The same for the db_update() call right after it. Also, please break each method out to its own line as above, with each method indented two spaces from the first line. Otherwise this looks good.
Comment #2
theflowimmemorial commentedRe-rolled patch. Fixed style as per #1.
Comment #3
catchLooks good to me. Tests still pass. RTBC.
Comment #4
drewish commentedlooks good to me too.
Comment #5
Anonymous (not verified) commentedIt appears this patch has just been committed, and I was just about to chime in to say it looks good!
Comment #6
dries commentedForgot to mark it as fixed. Thanks for the patch.
Comment #8
quicksketchThis patch broke upload permissions. :P
#371206: upload_file_download() Blocks Access to Files Upload Doesn't Own fixes the problem again.