#36 quota and scripthook for edit-mailbox.php

closed-accepted
nobody
Core (27)
5
2013-12-01
2008-03-22
Michiel van Baak
No

This patch is against revision 313 of trunk.

The mailbox_postcreation hook does not send the quota to the script. We need this in order to run 'maildirmake -q'

Also, when you alter a mailbox you need to run a script to alter the quota as well. I found no hook for it so implemented it.

Discussion

  • Logged In: YES
    user_id=593261
    Originator: NO

    Thanks for the patch - commited to SVN r373.

    I did some small changes:
    - made $quota an required parameter in the mailbox_postedit and mailbox_postcreation functions
    - the scripts always get the quota as 4th parameter. In case $quota is <= 0, it is set to 0.

     
    • status: open --> closed-accepted