summaryrefslogtreecommitdiff
path: root/watch.php
diff options
context:
space:
mode:
Diffstat (limited to 'watch.php')
-rw-r--r--watch.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/watch.php b/watch.php
index 11a0073..9fc480b 100644
--- a/watch.php
+++ b/watch.php
@@ -22,7 +22,7 @@
require_once('header.inc.php');
/* Service creation: only useful services are created */
-$userservice =& ServiceFactory::getServiceInstance('UserService');
+//No specific services
/* Managing current logged user */
$currentUser = $userservice->getCurrentObjectUser();
@@ -32,7 +32,6 @@ $currentUser = $userservice->getCurrentObjectUser();
if ($userservice->isLoggedOn() && $user) {
- $tplVars = array();
$pagetitle = '';
if (is_int($user)) {