summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-23 01:49:26 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-23 01:49:26 +0000
commit608d0996698716c488318411e10b880796c58805 (patch)
tree4cde5c810156fea38d1328a34222cc8fdf40427d /core/helpers
parentddcf10dfce923fd07192e7dbc39fa34de3e22be8 (diff)
Update comment.
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/photo.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/helpers/photo.php b/core/helpers/photo.php
index 10f3d1a0..929f96de 100644
--- a/core/helpers/photo.php
+++ b/core/helpers/photo.php
@@ -77,7 +77,8 @@ class photo_Core {
$photo->add_to_parent($parent);
copy($filename, $photo->file_path());
- // This saves the photo a second time, which is unfortunate but difficult to avoid.
+ // This saves the photo a second time, which is unfortunate but difficult to avoid
+ // because the ORM_MPTT code needs to do the first save.
$thumb_size = module::get_var("core", "thumb_size");
$resize_size = module::get_var("core", "resize_size");