[dokuwiki] Re: New event proposition

>-----Original Message-----
>From: dokuwiki-bounce@xxxxxxxxxxxxx [mailto:dokuwiki-
>bounce@xxxxxxxxxxxxx] On Behalf Of Andreas Gohr
>Sent: Friday, September 26, 2008 11:34 AM
>To: dokuwiki@xxxxxxxxxxxxx
>Subject: [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.
[JS] I suppose it depends on what you are doing. If, for example, you wanted
to display a user's status in "real" time, it might be more efficient to
keep a running total.



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

Other related posts: