From 4de56ed6623c57c1c767be192ffe2af5926fe598 Mon Sep 17 00:00:00 2001 From: mensonge Date: Mon, 21 Apr 2008 08:44:44 +0000 Subject: Refactoring: rename sc_tags into sc_bookmarks2tags (and services, codes...) git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@116 b3834d28-1941-0410-a4f8-b48e95affb8f --- api/tags_get.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'api/tags_get.php') diff --git a/api/tags_get.php b/api/tags_get.php index 2584566..172dd0a 100644 --- a/api/tags_get.php +++ b/api/tags_get.php @@ -8,11 +8,11 @@ require_once('httpauth.inc.php'); require_once('../header.inc.php'); -$tagservice =& ServiceFactory::getServiceInstance('TagService'); +$b2tservice =& ServiceFactory::getServiceInstance('Bookmark2TagService'); $userservice =& ServiceFactory::getServiceInstance('UserService'); // Get the tags relevant to the passed-in variables. -$tags =& $tagservice->getTags($userservice->getCurrentUserId()); +$tags =& $b2tservice->getTags($userservice->getCurrentUserId()); // Set up the XML file and output all the tags. header('Content-Type: text/xml'); @@ -22,4 +22,4 @@ foreach($tags as $row) { echo "\t\r\n"; } echo ""; -?> \ No newline at end of file +?> -- cgit v1.2.3-54-g00ecf