summaryrefslogtreecommitdiffstatshomepage
path: root/api/tags_get.php
diff options
context:
space:
mode:
authorGravatar mensonge2008-12-05 07:25:04 +0000
committerGravatar mensonge2008-12-05 07:25:04 +0000
commitd6889066c0d285bf59e89b484800443304585b68 (patch)
tree8cc9aa5011a6e6a66061995a6f8186653be9695e /api/tags_get.php
parentf7ccbde31062488cbf04b3e4c06a9aa590ebfedd (diff)
downloadscuttle-d6889066c0d285bf59e89b484800443304585b68.tar.gz
scuttle-d6889066c0d285bf59e89b484800443304585b68.zip
Major Refactoring: finish transforming into object . Put and into header.inc.php.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@199 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'api/tags_get.php')
-rw-r--r--api/tags_get.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/tags_get.php b/api/tags_get.php
index 172dd0a..cee36ee 100644
--- a/api/tags_get.php
+++ b/api/tags_get.php
@@ -8,8 +8,9 @@
require_once('httpauth.inc.php');
require_once('../header.inc.php');
+/* Service creation: only useful services are created */
$b2tservice =& ServiceFactory::getServiceInstance('Bookmark2TagService');
-$userservice =& ServiceFactory::getServiceInstance('UserService');
+
// Get the tags relevant to the passed-in variables.
$tags =& $b2tservice->getTags($userservice->getCurrentUserId());