diff options
author | Yorhel <git@yorhel.nl> | 2009-08-12 15:36:37 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-08-12 15:36:37 +0200 |
commit | e8ed9663331278c6bd555f7a69c45e84fc4bb34e (patch) | |
tree | 6c4f6b4539398b48dee64bdd2045713cf5d17013 /lib/VNDB/DB/Users.pm | |
parent | 9af811fcde7d9f5c8e9f63390e895fcb8fc07677 (diff) |
Added global user votes ignore list
Diffstat (limited to 'lib/VNDB/DB/Users.pm')
-rw-r--r-- | lib/VNDB/DB/Users.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/DB/Users.pm b/lib/VNDB/DB/Users.pm index e1f4c378..b2cd1a31 100644 --- a/lib/VNDB/DB/Users.pm +++ b/lib/VNDB/DB/Users.pm @@ -43,7 +43,7 @@ sub dbUserGet { ); my @select = ( - qw|id username mail rank salt c_votes c_changes show_nsfw show_list skin customcss ip c_tags|, + qw|id username mail rank salt c_votes c_changes show_nsfw show_list skin customcss ip c_tags ign_votes|, q|encode(passwd, 'hex') AS passwd|, q|extract('epoch' from registered) as registered|, $o{what} =~ /stats/ ? ( '(SELECT COUNT(*) FROM rlists WHERE uid = u.id) AS releasecount', @@ -74,7 +74,7 @@ sub dbUserEdit { my %h; defined $o{$_} && ($h{$_.' = ?'} = $o{$_}) - for (qw| username mail rank show_nsfw show_list skin customcss salt |); + for (qw| username mail rank show_nsfw show_list skin customcss salt ign_votes |); $h{'passwd = decode(?, \'hex\')'} = $o{passwd} if defined $o{passwd}; |