summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2012-04-18 17:01:21 -0400
committerChristian Fowler <spider@viovio.com>2012-04-18 17:01:21 -0400
commitd0152044dae7a448824af45315916c54bef7e29d (patch)
tree336759b8467db66e6d9d3349ceb8a30f97ae9f00
parent38366113ee6755d983af00f8054b68e758372d59 (diff)
downloadtags-d0152044dae7a448824af45315916c54bef7e29d.tar.gz
tags-d0152044dae7a448824af45315916c54bef7e29d.tar.bz2
tags-d0152044dae7a448824af45315916c54bef7e29d.zip
major migration of getDisplayUrl to ->getDisplayUrl and ::getDisplayUrlFromHash
-rw-r--r--LibertyTag.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/LibertyTag.php b/LibertyTag.php
index 3997c57..34a9b05 100644
--- a/LibertyTag.php
+++ b/LibertyTag.php
@@ -60,7 +60,7 @@ class LibertyTag extends LibertyBase {
$ret = array();
while ($res = $result->fetchRow()) {
//Add tag urls
- $res['tag_url'] = LibertyTag::getDisplayUrl($res['tag']);
+ $res['tag_url'] = LibertyTag::getDisplayUrlFromHash($res['tag']);
$ret[] = $res;
}
@@ -85,7 +85,7 @@ class LibertyTag extends LibertyBase {
if ( $result = $this->mDb->getRow( $query, $bindVars ) ){
//Add tag url
- $result['tag_url'] = LibertyTag::getDisplayUrl($result['tag']);
+ $result['tag_url'] = LibertyTag::getDisplayUrlFromHash($result['tag']);
$this->mInfo = $result;
};
@@ -485,7 +485,7 @@ class LibertyTag extends LibertyBase {
while ($res = $result->fetchRow()) {
// this was really sucky, its now replaced by the slightly lesssucky subselect above. the subselect should prolly be replaced with a count table
// $res['tag_count'] = $this->getPopCount($res['tag_id']);
- $res['tag_url'] = LibertyTag::getDisplayUrl($res['tag']);
+ $res['tag_url'] = LibertyTag::getDisplayUrlFromHash($res['tag']);
$ret[] = $res;
}