summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-04-17 14:33:09 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-04-17 14:33:09 +0000
commit16db33814585e87195429cdbc9000f57439822ca (patch)
treed822793d45b5ba724577229d1986d48d766d0973
parent1d6554764c04fa633eab2e09846dd9b270a4e813 (diff)
Fix typo that was causing an error
-rw-r--r--modules/organize/controllers/organize.php9
1 files changed, 0 insertions, 9 deletions
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"))