From 16db33814585e87195429cdbc9000f57439822ca Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 17 Apr 2009 14:33:09 +0000 Subject: Fix typo that was causing an error --- modules/organize/controllers/organize.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'modules/organize/controllers') diff --git a/modules/organize/controllers/organize.php b/modules/organize/controllers/organize.php index 20785bd9..9a98d854 100644 --- a/modules/organize/controllers/organize.php +++ b/modules/organize/controllers/organize.php @@ -59,15 +59,6 @@ class Organize_Controller extends Controller { "description" => empty($item->description) ? "" : $item->description)); } - public function detail($item_id) { - $item = ORM::factory("item", $item_id); - - print json_encode(array("title" => $item->title, - "owner" => $item->owner->name, - "date" => date("j-M-Y", $item->updated), - "description" => empty($item->description) ? "" : $item->description)); - } - public function tree($item, $parent) { $albums = ORM::factory("item") ->where(array("parent_id" => $parent->id, "type" => "album")) -- cgit v1.2.3