Remove LastVoted column

This has been introduced by commit aae43d9 (started working on package
comments, 2005-03-05) but it seems to be of no practical use. Remove the
field to save some space.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-02-09 01:37:03 +01:00
parent b7b586a8c4
commit 8c07c091e8
6 changed files with 0 additions and 19 deletions

View file

@ -1071,12 +1071,6 @@ function pkg_vote ($atype, $ids, $action=true) {
$dbh->exec($q);
if ($action) {
$q = "UPDATE Users SET LastVoted = UNIX_TIMESTAMP() ";
$q.= "WHERE ID = $uid";
$dbh->exec($q);
}
if ($action) {
return array(true, __("Your votes have been cast for the selected packages."));
} else {