From 68c01cda10ef49b05fffb6e323fa2d34ba5dd2f4 Mon Sep 17 00:00:00 2001 From: cweiske Date: Fri, 23 Oct 2009 17:13:16 +0000 Subject: 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 --- www/search.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/search.php') diff --git a/www/search.php b/www/search.php index 4a15053..2b65b2f 100644 --- a/www/search.php +++ b/www/search.php @@ -36,8 +36,8 @@ if (POST_TERMS != '') { // GET } else { /* Service creation: only useful services are created */ - $bookmarkservice =SemanticScuttle_Service_Factory::getServiceInstance('Bookmark'); - $searchhistoryservice =SemanticScuttle_Service_Factory::getServiceInstance('SearchHistory'); + $bookmarkservice =SemanticScuttle_Service_Factory::get('Bookmark'); + $searchhistoryservice =SemanticScuttle_Service_Factory::get('SearchHistory'); /* Managing current logged user */ $currentUserId = $userservice->getCurrentUserId(); -- cgit v1.2.3