From d0152044dae7a448824af45315916c54bef7e29d Mon Sep 17 00:00:00 2001 From: Christian Fowler Date: Wed, 18 Apr 2012 17:01:21 -0400 Subject: major migration of getDisplayUrl to ->getDisplayUrl and ::getDisplayUrlFromHash --- LibertyTag.php | 6 +++--- 1 file 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; } -- cgit v1.3