diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-11-02 09:36:23 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-11-02 09:36:23 +0000 |
commit | 73212d6e3fadc53e988164e03c8e3f2def1c45c6 (patch) | |
tree | 7a04e9f139751759d6b30384c767f5ff3d44e584 /www/vote.php | |
parent | 1b6f516bbb29178705870f6be8789701cd9b5d02 (diff) | |
download | semanticscuttle-73212d6e3fadc53e988164e03c8e3f2def1c45c6.tar.gz semanticscuttle-73212d6e3fadc53e988164e03c8e3f2def1c45c6.tar.bz2 |
allow vote changes
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@495 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'www/vote.php')
-rw-r--r-- | www/vote.php | 7 |
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']) { |