[drupal-devel] [task] Remove an unnecessary setting in upload module

Steven drupal-devel at drupal.org
Thu Jun 2 18:22:23 UTC 2005


Issue status update for http://drupal.org/node/24183

 Project:      Drupal
 Version:      cvs
 Component:    upload.module
 Category:     tasks
 Priority:     normal
 Assigned to:  drumm
 Reported by:  drumm
 Updated by:   Steven
 Status:       patch

Well, you're not entirely correct... upload module allows you to disable
a limit by setting it to 0. Thus, you could either want per-role
settings, or global settings. Or use the global setting for everyone,
except have one role have a stricter limit.


So we need to decide whether these are valid use cases, or just
unnecessary complexity.




Steven



Previous comments:
------------------------------------------------------------------------

June 2, 2005 - 20:02 : drumm

Attachment: http://drupal.org/files/issues/upload.module_5.diff (4.01 KB)

Currently the upload module checks two max file sizes. First it checks a
global option; if its too big it quits. Then it checks another max file
size (or even sizes) related to the roles which a user is in.


We can remove the global option since the individual roles are checked.




------------------------------------------------------------------------

June 2, 2005 - 20:15 : drumm

Oh and this includes a refactoring which changes one undocumented
function that did two things into two documented functions that do one
thing each. Forgot about that part.







More information about the drupal-devel mailing list