diff options
Diffstat (limited to 'templates/sidebar.block.popular.php')
-rw-r--r-- | templates/sidebar.block.popular.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/sidebar.block.popular.php b/templates/sidebar.block.popular.php index 446e9b2..cc5c73a 100644 --- a/templates/sidebar.block.popular.php +++ b/templates/sidebar.block.popular.php @@ -1,13 +1,13 @@ <?php -$tagservice =& ServiceFactory::getServiceInstance('TagService'); +$b2tservice =& ServiceFactory::getServiceInstance('Bookmark2TagService'); $userservice =& ServiceFactory::getServiceInstance('UserService'); $logged_on_userid = $userservice->getCurrentUserId(); if ($logged_on_userid === false) { $logged_on_userid = NULL; } -$popularTags =& $tagservice->getPopularTags($userid, $popCount, $logged_on_userid); -$popularTags =& $tagservice->tagCloud($popularTags, 5, 90, 225, 'alphabet_asc'); +$popularTags =& $b2tservice->getPopularTags($userid, $popCount, $logged_on_userid); +$popularTags =& $b2tservice->tagCloud($popularTags, 5, 90, 225, 'alphabet_asc'); if ($popularTags && count($popularTags) > 0) { ?> |