diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-07-14 15:50:06 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-07-14 15:50:06 -0400 |
commit | c7bd5fb64003c42f9299b7203af9a13bcd48948f (patch) | |
tree | d962c172af9395c734d345aa43d95561ea3ccf24 /classes | |
parent | 2d8b04169dda48a5dba8503d9943bdeee2c64685 (diff) | |
download | elgg-c7bd5fb64003c42f9299b7203af9a13bcd48948f.tar.gz elgg-c7bd5fb64003c42f9299b7203af9a13bcd48948f.tar.bz2 |
added quota back
Diffstat (limited to 'classes')
-rw-r--r-- | classes/TidypicsImage.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/classes/TidypicsImage.php b/classes/TidypicsImage.php index 672a0df20..5a8d42ccc 100644 --- a/classes/TidypicsImage.php +++ b/classes/TidypicsImage.php @@ -217,11 +217,15 @@ class TidypicsImage extends ElggFile { } $owner = $this->getOwnerEntity(); - $owner->image_repo_size = (int)$owner->image_repo_size + $size; + $owner->image_repo_size = (int)$owner->image_repo_size + $this->size(); return true; } + /** + * Need to restore sanity to this function + * @param type $data + */ protected function checkUploadErrors($data) { // check for upload errors if ($data['error']) { |