mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
b7b586a8c4
commit
8c07c091e8
6 changed files with 0 additions and 19 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue