Closed (won't fix)
Project:
Image
Version:
5.x-1.x-dev
Component:
image_attach
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2007 at 00:43 UTC
Updated:
15 Jan 2009 at 04:52 UTC
Jump to comment: Most recent file
Comments
Comment #1
smoothify commentedHere is a combined patch for if you want to use this with my other recent patch that allows detaching images (http://drupal.org/node/124259)
Comment #2
drewish commentedbit better title, use the status not title to indicate a patch.
i'd prefer a different name for the variable
image_attach_limit_user, perhapsimage_attach_limit_to_user?i'm also not too into the way you're building the query. shouldn't status be one in either case? so if the only difference is 'AND n.uid=foo' it seems like that should be all you add to the $where variable.
Comment #3
smoothify commentedThere is also a second difference between the two - when the limit is off n.status=1 is added to the query.
But if you don't like the way it works feel free to improve it....
Comment #4
sunSorry, 5.x-1.x won't see any new features.