From 486517fac560a7b9552d2e79624e369d2833ac4a Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 2 May 2009 19:11:22 +0000 Subject: Clean up API to be organized around the functionality it provides, not the feature its provided for. --- modules/organize/helpers/organize_task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/organize/helpers') 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(), -- cgit v1.2.3