summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-01-07 10:17:31 +0100
committerYorhel <git@yorhel.nl>2011-01-07 10:17:31 +0100
commit8523096b104153d0311d339622f2a9ddb2c1e6e2 (patch)
treed1dcba3f4e2b046ed850f274bb70a12effe59055 /lib
parent5894b1f62abbe8837067bdf34a559d78e0a5f3a5 (diff)
Don't update the 'date' when changing a VN vote
Reverted back to the old behaviour.
Diffstat (limited to 'lib')
-rw-r--r--lib/VNDB/DB/ULists.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/DB/ULists.pm b/lib/VNDB/DB/ULists.pm
index a47e848e..e1c22594 100644
--- a/lib/VNDB/DB/ULists.pm
+++ b/lib/VNDB/DB/ULists.pm
@@ -260,7 +260,7 @@ sub dbVoteAdd {
my($self, $vid, $uid, $vote) = @_;
$self->dbExec(q|
UPDATE votes
- SET vote = ?, date = NOW()
+ SET vote = ?
WHERE vid IN(!l)
AND uid = ?|,
$vote, ref($vid) ? $vid : [$vid], $uid