summaryrefslogtreecommitdiff
path: root/templates/sidebar.block.search.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sidebar.block.search.php')
-rw-r--r--templates/sidebar.block.search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/sidebar.block.search.php b/templates/sidebar.block.search.php
index 921b0b9..7979ebf 100644
--- a/templates/sidebar.block.search.php
+++ b/templates/sidebar.block.search.php
@@ -1,5 +1,5 @@
<?php
-$userservice =& ServiceFactory::getServiceInstance('UserService');
+/* Service creation: only useful services are created */
$searchhistoryservice =& ServiceFactory::getServiceInstance('SearchHistoryService');
$logged_on_userid = $userservice->getCurrentUserId();