[dokuwiki] Re: New event proposition

>>However for quota checking, I'd say you only need to check on upload.
>>
> [JS] Checking on upload would prevent exceeding the quota, but you need to
> decrement on deletion if you want to get a current report.

I wouldn't track the quota usage, but instead compare the current size
of the upload directory with the set quota, otherwise you have more
work when an admin deletes a file for a user. You would have to adjust
the tracked quota as well.

Andi

-- 
splitbrain.org
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: