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/admin.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'www/admin.php') diff --git a/www/admin.php b/www/admin.php index 37ebe4b..42fa0c8 100644 --- a/www/admin.php +++ b/www/admin.php @@ -20,13 +20,13 @@ require_once '../src/SemanticScuttle/header.php'; /* Service creation: only useful services are created */ -$bookmark2tagservice = SemanticScuttle_Service_Factory :: getServiceInstance('Bookmark2Tagservice'); -$bookmarkservice = SemanticScuttle_Service_Factory :: getServiceInstance('Bookmark'); -$tag2tagservice = SemanticScuttle_Service_Factory :: getServiceInstance('Tag2Tag'); -$tagcacheservice = SemanticScuttle_Service_Factory :: getServiceInstance('TagCache'); -$commondescriptionservice = SemanticScuttle_Service_Factory :: getServiceInstance('CommonDescription'); -$searchhistoryservice = SemanticScuttle_Service_Factory :: getServiceInstance('SearchHistory'); -$tagstatservice = SemanticScuttle_Service_Factory :: getServiceInstance('TagStat'); +$bookmark2tagservice = SemanticScuttle_Service_Factory :: get('Bookmark2Tagservice'); +$bookmarkservice = SemanticScuttle_Service_Factory :: get('Bookmark'); +$tag2tagservice = SemanticScuttle_Service_Factory :: get('Tag2Tag'); +$tagcacheservice = SemanticScuttle_Service_Factory :: get('TagCache'); +$commondescriptionservice = SemanticScuttle_Service_Factory :: get('CommonDescription'); +$searchhistoryservice = SemanticScuttle_Service_Factory :: get('SearchHistory'); +$tagstatservice = SemanticScuttle_Service_Factory :: get('TagStat'); // Header variables $tplVars['subtitle'] = T_('Manage users'); -- cgit v1.2.3