summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2014-09-22 18:05:44 -0400
committerspiderr <spider@viovio.com>2014-09-22 18:05:44 -0400
commit9d71ee65836dfd4d1f1bdd7a43040c6034b77b9f (patch)
tree1eefd58b43fb663d457d488377f8eb3d48fd592e
parentc8677b685261d160d578145254de48202637fc94 (diff)
downloadpigeonholes-9d71ee65836dfd4d1f1bdd7a43040c6034b77b9f.tar.gz
pigeonholes-9d71ee65836dfd4d1f1bdd7a43040c6034b77b9f.tar.bz2
pigeonholes-9d71ee65836dfd4d1f1bdd7a43040c6034b77b9f.zip
getTitleFromHash-cleanup
-rw-r--r--Pigeonholes.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Pigeonholes.php b/Pigeonholes.php
index 1adc050..2ce9f2d 100644
--- a/Pigeonholes.php
+++ b/Pigeonholes.php
@@ -96,7 +96,7 @@ class Pigeonholes extends LibertyMime {
$this->mStructureId = $row['structure_id'];
$this->mInfo['user'] = $row['creator_user'];
$this->mInfo['real_name'] = ( isset( $row['creator_real_name'] ) ? $row['creator_real_name'] : $row['creator_user'] );
- $this->mInfo['display_name'] = BitUser::getTitle( $this->mInfo );
+ $this->mInfo['display_name'] = BitUser::getTitleFromHash( $this->mInfo );
$this->mInfo['editor'] = ( isset( $row['modifier_real_name'] ) ? $row['modifier_real_name'] : $row['modifier_user'] );
$this->mInfo['display_link'] = $this->getDisplayLink();
$this->mInfo['display_url'] = $this->getDisplayUrl();
@@ -199,7 +199,7 @@ class Pigeonholes extends LibertyMime {
if( $type['content_object']->isViewable( $aux['content_id'] )) {
$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['title'] = $type['content_object']->getTitleFromHash( $aux );
// needs updating to bw3 $aux['thumbnail_url'] = liberty_fetch_thumbnails( array());
$ret[] = $aux;
}
@@ -286,7 +286,7 @@ class Pigeonholes extends LibertyMime {
$type['content_object'] = new $type['handler_class']();
}
$ret[$i]['display_link'] = $type['content_object']->getDisplayLink( $row['title'], $row );
- $ret[$i]['title'] = $type['content_object']->getTitle( $row );
+ $ret[$i]['title'] = $type['content_object']->getTitleFromHash( $row );
}
// generate a map of what items are assigned to what pigeonholes