summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-08-01 12:00:33 +0200
committerYorhel <git@yorhel.nl>2009-08-01 12:00:33 +0200
commitcc450b80beb72f91dbf56ab5e23f57eef87323af (patch)
tree460cf6d6b349d1808a10fdeab375463ce952008c
parent5c2cd1ba9c22eb97f186f6f1779e6f28b3978b1a (diff)
Don't try to DELETE FROM vnlists in dbUserDel()
The vnlists table has been removed in an earlier update. Though I don't think I've explicitely removed it from an update script. For those who still have this table, check commit 9a07126464f4ca05f33e7375883ada66abe7dcf4 - it has some changes not present in any of the update scripts but which are done on the main (vndb.org & beta) databases.
-rw-r--r--lib/VNDB/DB/Users.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/VNDB/DB/Users.pm b/lib/VNDB/DB/Users.pm
index a0e204e8..7e280999 100644
--- a/lib/VNDB/DB/Users.pm
+++ b/lib/VNDB/DB/Users.pm
@@ -99,7 +99,6 @@ sub dbUserAdd {
sub dbUserDel {
my($s, $id) = @_;
$s->dbExec($_, $id) for (
- q|DELETE FROM vnlists WHERE uid = ?|,
q|DELETE FROM rlists WHERE uid = ?|,
q|DELETE FROM wlists WHERE uid = ?|,
q|DELETE FROM votes WHERE uid = ?|,