summaryrefslogtreecommitdiff
path: root/modules/organize/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-02 19:11:22 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-02 19:11:22 +0000
commit486517fac560a7b9552d2e79624e369d2833ac4a (patch)
tree138fa48830765c581f23041ac62e3737b63f6d80 /modules/organize/helpers
parentd0b8fbef1dc681ff4f8dcafd8ced56e7c5c40f13 (diff)
Clean up API to be organized around the functionality it provides, not the feature its provided for.
Diffstat (limited to 'modules/organize/helpers')
-rw-r--r--modules/organize/helpers/organize_task.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/organize/helpers/organize_task.php b/modules/organize/helpers/organize_task.php
index 6c34692d..a3f9b717 100644
--- a/modules/organize/helpers/organize_task.php
+++ b/modules/organize/helpers/organize_task.php
@@ -97,7 +97,7 @@ class organize_task_Core {
$parent->thumb_height = $item->thumb_height;
$parent->save();
}
- list ($height, $width) = $item->adjust_thumb_size(90);
+ list ($height, $width) = $item->scale_dimensions(90);
$margin_top = (90 - $height) / 20;
return array("src" => $item->thumb_url() . "?rnd=" . rand(),