summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormodela bitweaver <bitweaver@modela>2014-05-23 12:05:32 -0400
committermodela bitweaver <bitweaver@modela>2014-05-23 12:05:32 -0400
commita332eb380f8bab865986b6bb86c0c7b2c4710b6b (patch)
treec213afca0bae7ae80fb7261b9bc4ac230df52cb3
parent4ce149828a6e4e546fa2b851007a53522ab41aa9 (diff)
downloadpigeonholes-a332eb380f8bab865986b6bb86c0c7b2c4710b6b.tar.gz
pigeonholes-a332eb380f8bab865986b6bb86c0c7b2c4710b6b.tar.bz2
pigeonholes-a332eb380f8bab865986b6bb86c0c7b2c4710b6b.zip
fix pigeonholes
-rw-r--r--Pigeonholes.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/Pigeonholes.php b/Pigeonholes.php
index bd2cb21..872b3f8 100644
--- a/Pigeonholes.php
+++ b/Pigeonholes.php
@@ -176,7 +176,7 @@ class Pigeonholes extends LibertyMime {
SELECT pigm.*,
lc.`content_id`, lc.`last_modified`, lc.`user_id`, lc.`title`, lc.`content_type_guid`, lc.`created`,
lct.`content_name`, lcds.`data` AS `summary`,
- uu.`login`, uu.`real_name`, lf.`storage_path` $select
+ uu.`login`, uu.`real_name` $select
FROM `".BIT_DB_PREFIX."pigeonhole_members` pigm
INNER JOIN `".BIT_DB_PREFIX."pigeonholes` pig ON ( pig.`content_id` = pigm.`parent_id` )
INNER JOIN `".BIT_DB_PREFIX."liberty_content` lc ON ( lc.`content_id` = pigm.`content_id` )
@@ -200,10 +200,7 @@ class Pigeonholes extends LibertyMime {
$aux['display_url'] = $type['content_object']->getDisplayUrlFromHash( $aux );
$aux['display_link'] = $type['content_object']->getDisplayLink( $aux['title'], $aux );
$aux['title'] = $type['content_object']->getTitle( $aux );
- $aux['thumbnail_url'] = liberty_fetch_thumbnails( array(
- 'storage_path' => $aux['storage_path'],
- 'mime_image' => FALSE
- ));
+// needs updating to bw3 $aux['thumbnail_url'] = liberty_fetch_thumbnails( array());
$ret[] = $aux;
}
}