aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-12-23 15:41:28 +0100
committerKevin Chabowski <kevin@kch42.de>2011-12-23 15:41:28 +0100
commit0a0711c59743a2410fe672a4cc84cd2656ddada6 (patch)
tree905f692a25bef3ef69533c6cef59ff73a5dbe994
parentdf0658f7e10d2bf87460195f792398d16eee811e (diff)
downloadratatoeskr-cms-0a0711c59743a2410fe672a4cc84cd2656ddada6.tar.gz
ratatoeskr-cms-0a0711c59743a2410fe672a4cc84cd2656ddada6.tar.bz2
ratatoeskr-cms-0a0711c59743a2410fe672a4cc84cd2656ddada6.zip
Rewrote confusing commit.
-rw-r--r--ratatoeskr/sys/models.php2
1 files changed, 1 insertions, 1 deletions
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"]);
}
}