summaryrefslogtreecommitdiff
path: root/www/tagrename.php
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-23 17:13:16 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-23 17:13:16 +0000
commit68c01cda10ef49b05fffb6e323fa2d34ba5dd2f4 (patch)
tree5aabcd77449786df7629f351e2f2816284f99cd5 /www/tagrename.php
parent3df99a0aec0b926464449e8ca33c808c63d903df (diff)
downloadsemanticscuttle-68c01cda10ef49b05fffb6e323fa2d34ba5dd2f4.tar.gz
semanticscuttle-68c01cda10ef49b05fffb6e323fa2d34ba5dd2f4.tar.bz2
rename ServiceFactory::getServiceInstance() to get() - much easier to write
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@396 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'www/tagrename.php')
-rw-r--r--www/tagrename.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/tagrename.php b/www/tagrename.php
index 735e2e8..7222acf 100644
--- a/www/tagrename.php
+++ b/www/tagrename.php
@@ -22,9 +22,9 @@
require_once '../src/SemanticScuttle/header.php';
/* Service creation: only useful services are created */
-$b2tservice = SemanticScuttle_Service_Factory :: getServiceInstance('Bookmark2Tag');
-$tagservice = SemanticScuttle_Service_Factory :: getServiceInstance('Tag');
-$tag2tagservice = SemanticScuttle_Service_Factory :: getServiceInstance('Tag2Tag');
+$b2tservice = SemanticScuttle_Service_Factory :: get('Bookmark2Tag');
+$tagservice = SemanticScuttle_Service_Factory :: get('Tag');
+$tag2tagservice = SemanticScuttle_Service_Factory :: get('Tag2Tag');
/* Managing all possible inputs */
isset($_POST['confirm']) ? define('POST_CONFIRM', $_POST['confirm']): define('POST_CONFIRM', '');