[pLog-svn] r2182 - plog/branches/plog-1.0.2/class/gallery/dao
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Wed Jun 8 12:56:44 GMT 2005
Author: oscar
Date: 2005-06-08 12:56:44 +0000 (Wed, 08 Jun 2005)
New Revision: 2182
Modified:
plog/branches/plog-1.0.2/class/gallery/dao/galleryresourcequotas.class.php
Log:
fixed issue 580 (http://bugs.plogworld.net/view.php?id=580), there was one
issue with quotas not working very well...
Modified: plog/branches/plog-1.0.2/class/gallery/dao/galleryresourcequotas.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/gallery/dao/galleryresourcequotas.class.php 2005-06-08 11:11:40 UTC (rev 2181)
+++ plog/branches/plog-1.0.2/class/gallery/dao/galleryresourcequotas.class.php 2005-06-08 12:56:44 UTC (rev 2182)
@@ -75,8 +75,8 @@
// if not, calculate how many bytes we currently have
$currentBytes = GalleryResourceQuotas::getBlogResourceQuotaUsage( $blogId );
-
- if( ($currentByes + $fileSize) > $blogQuota )
+
+ if( ($currentBytes + $fileSize) > $blogQuota )
return true;
else
return false;
More information about the pLog-svn
mailing list