From my own dev environment changelog:

fixed quota so that it actually stops at the first found group per user check
moved the database lookups inside the group check to avoid unneeded queries
cleaned up the counting routine to use more standard, easier to read counting code
cleaned up the error messages to be translateable (Also fixes the use seeing "Try again in 1 $per" because of the single quotes)
removed the _quota_in_array function -- replaced with built in in_array. Duh?

CommentFileSizeAuthor
quota_by_role.diff4.6 KBchuyskywalker

Comments

lazyboy’s picture

Assigned: Unassigned » lazyboy

Hello chuyskywalker

Thank you for your patch. I will review your code and patch if need be. :D

Regards
lazyboy

introfini’s picture

Hi,

Can you please commit this patch, so I can add another patch on some strings that need the t() function. I need it to give you the .po translated file for Portuguese :-)

Thanks for back-porting this module.

introfini

introfini’s picture

Hi,

Please check this issue http://drupal.org/project/issues/181650

introfini

lazyboy’s picture

patch applied. thanks a mil!

lazyboy’s picture

Status: Needs review » Closed (fixed)