From 0a0711c59743a2410fe672a4cc84cd2656ddada6 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Fri, 23 Dec 2011 15:41:28 +0100 Subject: Rewrote confusing commit. --- ratatoeskr/sys/models.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatoeskr/sys') diff --git a/ratatoeskr/sys/models.php b/ratatoeskr/sys/models.php index a0a1fda..52a2f1d 100644 --- a/ratatoeskr/sys/models.php +++ b/ratatoeskr/sys/models.php @@ -248,7 +248,7 @@ class User } catch(DoesNotExistError $e) { - /* WTF?!? This should be fixed! */ + /* Database inconsistence found. This will "fix" it (read: delete the entry). */ qdb("DELETE FROM `PREFIX_group_members` WHERE `user` = %d AND `group` = %d", $this->id, $sqlrow["group"]); } } -- cgit v1.2.3-70-g09d2