summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/vote.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/www/vote.php b/www/vote.php
index 406b7d0..20e77fc 100644
--- a/www/vote.php
+++ b/www/vote.php
@@ -57,13 +57,6 @@ if (!isset($GLOBALS['lastUrl']) || $GLOBALS['lastUrl'] == '') {
$from = $GLOBALS['lastUrl'];
-if ($vs->hasVoted($bookmark, $user)) {
- //already voted
- header('HTTP/1.0 412 Precondition failed');
- echo 'Bookmark has been already voted for';
- exit(6);
-}
-
$vs->vote($bookmark, $user, $type == 'for' ? 1 : -1);
if (isset($GLOBALS['ajaxRequest']) && $GLOBALS['ajaxRequest']) {