aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar.block.watchstatus.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sidebar.block.watchstatus.php')
-rw-r--r--templates/sidebar.block.watchstatus.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/templates/sidebar.block.watchstatus.php b/templates/sidebar.block.watchstatus.php
deleted file mode 100644
index 99574aa..0000000
--- a/templates/sidebar.block.watchstatus.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-/* Service creation: only useful services are created */
-//No specific services
-
-
-if ($userservice->isLoggedOn()) {
-
- if ($currentUser->getUsername() != $user) {
- $result = $userservice->getWatchStatus($userid, $userservice->getCurrentUserId());
- if ($result) {
- $linkText = T_('Remove from Watchlist');
- } else {
- $linkText = T_('Add to Watchlist');
- }
- $linkAddress = createURL('watch', $user);
-?>
-
-<h2><?php echo T_('Actions'); ?></h2>
-<div id="watchlist">
- <ul>
- <li><a href="<?php echo $linkAddress ?>"><?php echo $linkText ?></a></li>
- </ul>
-</div>
-
-<?php
- }
-}
-?> \ No newline at end of file